nix: Reduce priority of daemon
This commit is contained in:
parent
5fe03fb923
commit
ba3a59d8c0
|
@ -45,7 +45,11 @@
|
||||||
|
|
||||||
# On-the-fly optimisation of nix store
|
# On-the-fly optimisation of nix store
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
|
|
||||||
|
# Make nix build in background less noticeable
|
||||||
|
daemonIONiceLevel = 5; # 0-7
|
||||||
};
|
};
|
||||||
|
systemd.services.nix-daemon.serviceConfig.CPUSchedulingPolicy = "batch";
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
# Explicitly allow unfree packages (rule of thumb: assets ok, code not ok)
|
# Explicitly allow unfree packages (rule of thumb: assets ok, code not ok)
|
||||||
|
|
Loading…
Reference in a new issue