hydra: set hydra-evaluator+nix-daemon CPUWeight

so that system keeps responsive
This commit is contained in:
Astro 2022-05-07 02:49:46 +02:00
parent b0e658cf88
commit 7bbf2ad30e
1 changed files with 4 additions and 0 deletions

View File

@ -43,11 +43,15 @@ in {
'';
};
systemd.services.hydra-evaluator.serviceConfig = {
CPUWeight = 2;
MemoryAccounting = true;
MemoryHigh = "32G";
MemoryMax = "40G";
MemorySwapMax = "8G";
};
systemd.services.nix-daemon.serviceConfig = {
CPUWeight = 5;
};
services.nginx =
let