nixos/nix-daemon: build-max-jobs, add support to auto

This commit is contained in:
srghma 2018-08-18 14:45:12 +03:00
parent d6a60a7e91
commit 37e2ebdfbc

View file

@ -88,7 +88,7 @@ in
}; };
maxJobs = mkOption { maxJobs = mkOption {
type = types.int; type = types.either types.int (types.enum ["auto"]);
default = 1; default = 1;
example = 64; example = 64;
description = '' description = ''