summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-daemon.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2018-08-18 16:46:08 +0200
committerGitHub <noreply@github.com>2018-08-18 16:46:08 +0200
commiteacaaa2161dfdb2bb022633da2cc771aa8f76cad (patch)
treeab3978add6b7326316b5181d1abf4e735ffb4a01 /nixos/modules/services/misc/nix-daemon.nix
parent10777c361e12c82069be3bdb4347886e6afee1c4 (diff)
parent37e2ebdfbc53f23d80d63b0fda061d77f5640ab6 (diff)
downloadnixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.tar
nixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.tar.gz
nixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.tar.bz2
nixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.tar.lz
nixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.tar.xz
nixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.tar.zst
nixlib-eacaaa2161dfdb2bb022633da2cc771aa8f76cad.zip
Merge pull request #44880 from srghma/build-max-jobs-auto
nixos/nix-daemon: build-max-jobs, add support to auto
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 5ca879bf2664..c0eb882c58f3 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -88,7 +88,7 @@ in
       };
 
       maxJobs = mkOption {
-        type = types.int;
+        type = types.either types.int (types.enum ["auto"]);
         default = 1;
         example = 64;
         description = ''