File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 pkgs . nixosOptionsDoc {
5151 options = removeAttrs config . options [ "_module" ] ;
5252 inherit transformOptions ;
53- markdownByDefault = true ;
5453 warningsAreErrors = false ;
5554 } ;
5655 in
Original file line number Diff line number Diff line change 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 '' ;
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 '' ;
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 {
Original file line number Diff line number Diff line change 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 '' ;
You can’t perform that action at this time.
0 commit comments