nixos/clusters: Set default number of local build jobs

This commit is contained in:
Mikael Voss 2024-10-11 23:51:22 +02:00
parent 54fd16332e
commit e1c265ca42
No known key found for this signature in database

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