From 8864ee304563f08d07ed27f54b4824268779e073 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 29 Apr 2021 12:00:42 -0400 Subject: [PATCH] make nix daemon low priority --- modules/baseline.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/baseline.nix b/modules/baseline.nix index 0f0e6d6..a5754be 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -19,6 +19,11 @@ networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName); + nix = { + daemonNiceLevel = 19; + daemonIONiceLevel = 7; + }; + hardware = { cpu.amd.updateMicrocode = true; cpu.intel.updateMicrocode = true;