all repos — nixfiles @ 3a7a769a502109b43ad54a388aa5140d62755caf

System and user configuration, managed by nix and home-manager

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

Alin
commit

3a7a769a502109b43ad54a388aa5140d62755caf

parent

fb07da2e1d675275b0a91ba81cbc44c81958b98b

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