From 505697715d94da46e4a27f337299c84ed62044e9 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 6 Dec 2021 16:00:41 +0100 Subject: [PATCH] nix: Remove fallback for deamon nice levels --- modules/nix.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index 1a8dc0e..897b501 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -64,15 +64,11 @@ in keep-outputs = true keep-derivations = true ''; - } // (if (builtins.compareVersions config.system.nixos.release "21.11" != -1) then { + # Make nix build in background less noticeable daemonCPUSchedPolicy = "batch"; daemonIOSchedPriority = 5; # 0-7 - } else { - # TODO 21.11: remove - daemonNiceLevel = 10; - daemonIONiceLevel = 5; # 0-7 - }); + }; nixpkgs.overlays = with inputs; [ self.overlay