nixos/clusters: Set default number of local build jobs

This commit is contained in:
Mikael 2024-10-11 23:51:22 +02:00
parent 54fd16332e
commit e1c265ca42
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -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;
});