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, 5 insertions(+), 0 deletions(-)

changed files
M system/roles/server.nix → system/roles/server.nix
@@ -24,6 +24,11 @@ ];
srvos.server.docs.enable = true; + nix.settings = { + max-jobs = lib.mkDefault 2; + cores = lib.mkDefault 2; + }; + services.sshguard = { enable = true; };