nixos-generate-config: lower priority of nix.maxJobs

Fixes #6429.
This commit is contained in:
Vladimír Čunát 2016-04-12 08:09:01 +02:00
parent e02debe165
commit 5c04313451

View File

@ -474,7 +474,7 @@ my $hwConfig = <<EOF;
boot.kernelModules = [$kernelModules ];
boot.extraModulePackages = [$modulePackages ];
$fsAndSwap
nix.maxJobs = $cpus;
nix.maxJobs = lib.mkDefault $cpus;
${\join "", (map { " $_\n" } (uniq @attrs))}}
EOF