nix: Remove fallback for deamon nice levels

neomutt
Simon Bruder 2021-12-06 16:00:41 +01:00
parent 349b72c1d7
commit 505697715d
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 2 additions and 6 deletions

View File

@ -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