forked from mirrors/nixpkgs
nixos-generate-config: lower priority of nix.maxJobs
Fixes #6429.
(cherry picked from commit 5c04313451
)
This commit is contained in:
parent
4b667665c2
commit
4ffe3f9593
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue