nix: Use daemonNiceLevel instead of CPUSchedulingPolicy

pull/52/head
Simon Bruder 2021-04-08 15:42:49 +02:00
parent 4ece15d0f6
commit 07d4260b95
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

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)