From 4ede6361ae08954dc8f7588664cc9b2d7d01aa63 Mon Sep 17 00:00:00 2001 From: jalr Date: Thu, 16 Dec 2021 00:24:29 +0000 Subject: [PATCH] Update nix config to work with nixos-21.11 --- modules/nix.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index 408dd82..98a1d68 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -44,8 +44,9 @@ in autoOptimiseStore = true; # less noticeable nix builds - daemonNiceLevel = 10; - daemonIONiceLevel = 5; + daemonCPUSchedPolicy = "idle"; + daemonIOSchedClass = "idle"; + daemonIOSchedPriority = 7; }; nixpkgs.overlays = with inputs; [