nixos-mods/allCommon: configure IOScheduling for nix-daemon service

secrix-issue25
Felix Stupp 3 months ago
parent 71feebce25
commit c190906762
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -77,7 +77,8 @@ in
}; };
systemd.services.nix-daemon.serviceConfig = { systemd.services.nix-daemon.serviceConfig = {
CPUSchedulingPolicy = "batch"; CPUSchedulingPolicy = "batch";
IOSchedulingClass = "best-effort";
IOSchedulingPriority = 7;
OOMScoreAdjust = lib.mkDefault 250; OOMScoreAdjust = lib.mkDefault 250;
}; };

Loading…
Cancel
Save