nix-daemon: Run under the default nice level

Running at a low priority is generally bad since it runs the risk of
priority inversions, etc.  It's really the builders that should run
under a different priority (e.g. in their own cgroup).
wip/yesman
Eelco Dolstra 11 years ago
parent 5827261bef
commit 168d48a5c9
  1. 4
      modules/services/misc/nix-daemon.nix

@ -127,7 +127,7 @@ in
};
daemonNiceLevel = mkOption {
default = 10;
default = 0;
description = "
Nix daemon process priority. This priority propagates to build processes.
0 is the default Unix process priority, 20 is the lowest.
@ -135,7 +135,7 @@ in
};
daemonIONiceLevel = mkOption {
default = 7;
default = 0;
description = "
Nix daemon process I/O priority. This priority propagates to build processes.
0 is the default Unix process I/O priority, 7 is the lowest.

Loading…
Cancel
Save