nix: Use daemonNiceLevel instead of CPUSchedulingPolicy

This commit is contained in:
Simon Bruder 2021-04-08 15:42:49 +02:00
parent 4ece15d0f6
commit 07d4260b95
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -123,9 +123,9 @@ in
'';
# Make nix build in background less noticeable
daemonNiceLevel = 10;
daemonIONiceLevel = 5; # 0-7
};
systemd.services.nix-daemon.serviceConfig.CPUSchedulingPolicy = "batch";
nixpkgs.overlays = [
(import ../pkgs)