From 37e2ebdfbc53f23d80d63b0fda061d77f5640ab6 Mon Sep 17 00:00:00 2001 From: srghma Date: Sat, 18 Aug 2018 14:45:12 +0300 Subject: [PATCH] nixos/nix-daemon: build-max-jobs, add support to auto --- nixos/modules/services/misc/nix-daemon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index e64df8dc7d2..a5f694f7b6c 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 = ''