From ec83386b9c5d0ab303e2b9f319483d919917f8c3 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sat, 2 Apr 2022 20:14:41 +0200 Subject: [PATCH] [Services] ananicy: Add BG_CPUIO type to nix-collect-garbage --- services.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services.nix b/services.nix index 642cf12..801782a 100644 --- a/services.nix +++ b/services.nix @@ -134,14 +134,14 @@ in { cgroup_realtime_workaround = false; }; services.ananicy.extraRules = concatStringsSep "\n" ( forEach [ - { - name = "cp"; - type = "BG_CPUIO"; - } + { name = "cp"; + type = "BG_CPUIO"; } { name = "nix-build"; type = "BG_CPUIO"; } { name = "nix-store"; type = "BG_CPUIO"; } + { name = "nix-collect-garbage"; + type = "BG_CPUIO"; } { name = "nix"; type = "BG_CPUIO"; } { name = "X";