buk: configure as dedicated nix builder
1 file changed, 8 insertions(+), 0 deletions(-)
changed files
M system/hosts/buk.nix → system/hosts/buk.nix
@@ -14,10 +14,18 @@ rebootWindow = null; # idle shutdown solves this for us }; nix = { + nrBuildUsers = 64; settings = { max-jobs = "auto"; cores = 0; }; }; + + systemd.services.nix-daemon.serviceConfig = { + MemoryAccounting = true; + MemoryMax = "90%"; + OOMScoreAdjust = 500; + }; + system.stateVersion = "25.11"; }