nix: Use daemonNiceLevel instead of CPUSchedulingPolicy
This commit is contained in:
parent
4ece15d0f6
commit
07d4260b95
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue