diff --git a/modules/base.nix b/modules/base.nix index 9834f8f..e9334f5 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -45,7 +45,11 @@ # On-the-fly optimisation of nix store autoOptimiseStore = true; + + # Make nix build in background less noticeable + daemonIONiceLevel = 5; # 0-7 }; + systemd.services.nix-daemon.serviceConfig.CPUSchedulingPolicy = "batch"; nixpkgs.config = { # Explicitly allow unfree packages (rule of thumb: assets ok, code not ok)