nixos/clusters: Set default number of local build jobs
This commit is contained in:
parent
54fd16332e
commit
e1c265ca42
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ in {
|
|||
"rcu_nocbs=all"
|
||||
];
|
||||
|
||||
nix.settings.max-jobs = builtins.length cfg.performance |> lib.mkDefault;
|
||||
|
||||
systemd.slices = lib.genAttrs [ "system" ] (slice: {
|
||||
sliceConfig.AllowedCPUs = efficiency;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue