remove host-specific nix max-jobs/cores values; make role-based the default setting is automatic, based on CPU cores (for both) - set a lower value on servers as they are probably busy with other things - except buk: its main role is as a remote builder
1 file changed, 6 insertions(+), 1 deletion(-)
changed files
M system/hosts/buk.nix → system/hosts/buk.nix
@@ -7,12 +7,17 @@ ../roles/nix-remote-builder.nix ]; networking.hostName = "buk"; - nix.settings.max-jobs = 16; system.autoUpgrade = { operation = "boot"; rebootWindow = null; # idle shutdown solves this for us }; + nix = { + settings = { + max-jobs = "auto"; + cores = 0; + }; + }; system.stateVersion = "25.11"; }