From b5ffc32cfcc75a225e0161b0ef6e719fc47d9d69 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 30 Aug 2021 20:24:36 +0200 Subject: [PATCH] [thinkman] decrease nix nice level --- thinkman.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/thinkman.nix b/thinkman.nix index 1470608..1ad406f 100644 --- a/thinkman.nix +++ b/thinkman.nix @@ -49,11 +49,15 @@ boot.kernelPackages = pkgs.linuxPackages_latest; # Nix - nix.autoOptimiseStore = true; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; + nix = { + autoOptimiseStore = true; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + daemonNiceLevel = 19; + daemonIONiceLevel = 7; }; system.stateVersion = "21.05";