From d641d7fa3a76f2aa2251c9fab4457ac6c1756c48 Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Fri, 8 Oct 2021 01:45:29 +0200
Subject: [PATCH] nix daemon: configure nice levels

---
 layers/base.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/layers/base.nix b/layers/base.nix
index c085449..4da0a84 100644
--- a/layers/base.nix
+++ b/layers/base.nix
@@ -25,6 +25,8 @@ in
   nix.extraOptions = ''
     experimental-features = nix-command flakes
   '';
+  nix.daemonNiceLevel = 13;
+  nix.daemonIONiceLevel = 7;
 
   # This value determines the NixOS release with which your system is to be
   # compatible, in order to avoid breaking some software such as database
-- 
GitLab