git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #44880 from srghma/build-max-jobs-auto
eacaaa2Silvan Mosberger
nixos/modules/services/misc/nix-daemon.nix+1−1
@@ -88,7 +88,7 @@ in
88 };
88 };
89
89
90 maxJobs = mkOption {
90 maxJobs = mkOption {
91− type = types.int;
91+ type = types.either types.int (types.enum ["auto"]);
92 default = 1;
92 default = 1;
93 example = 64;
93 example = 64;
94 description = ''
94 description = ''