Skip to content

Commit 0723096

Browse files
committed
docs: removed lib.mdDoc
1 parent a4b5649 commit 0723096

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

docs/flake.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
pkgs.nixosOptionsDoc {
5151
options = removeAttrs config.options [ "_module" ];
5252
inherit transformOptions;
53-
markdownByDefault = true;
5453
warningsAreErrors = false;
5554
};
5655
in

nix/container/module.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ in
1414
type = with types; listOf package;
1515
default = [ ];
1616
example = lib.literalExpression "[ pkgs.pkgsStatic.bashInteractive pkgs.pkgsStatic.busybox ]";
17-
description = lib.mdDoc ''
17+
description = ''
1818
The set of packages that are copied to /bin. These must be static
1919
binaries as they can not rely on an existing /nix/store.
2020
'';
@@ -23,14 +23,14 @@ in
2323
type = with types; listOf package;
2424
default = [ ];
2525
example = lib.literalExpression "[ pkgs.git pkgs.openssh ]";
26-
description = lib.mdDoc ''
26+
description = ''
2727
The set of packages that are installed to the nix store. They must be
2828
installed manually (e.g. via `nix profile install` / `environment.systemPackages`).
2929
'';
3030
};
3131
files = mkOption {
3232
type = with types; attrsOf (nullOr path);
33-
description = lib.mdDoc ''
33+
description = ''
3434
Set of files that have to be copied to `/`. Deactivate a file by
3535
setting it to `null`.
3636
'';
@@ -48,7 +48,7 @@ in
4848
# from <nixpkgs>/nixos/modules/system/build.nix
4949
build = lib.mkOption {
5050
default = { };
51-
description = lib.mdDoc ''
51+
description = ''
5252
Attribute set of derivations used to set up the system.
5353
'';
5454
type = with lib.types; submoduleWith {

nix/nixos/modules/docker.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ in
99
enable = mkOption {
1010
type = types.bool;
1111
default = false;
12-
description = lib.mdDoc ''
12+
description = ''
1313
Whether to enable the docker daemon. This also adds the codchi user to the docker group and installs docker-compose.
1414
'';
1515
};
1616
enableNvidia = mkOption {
1717
type = types.bool;
1818
default = false;
19-
description = lib.mdDoc ''
19+
description = ''
2020
Whether to install nvidia-container-toolkit to enable GPU usage inside docker containers.
2121
This requires setting `codchi.gpu.enable = true` and `nixpkgs.config.allowUnfree = true`.
2222
'';

0 commit comments

Comments
 (0)