[Services] ananicy: Add BG_CPUIO type to nix-collect-garbage

This commit is contained in:
Antoine Viallon 2022-04-02 20:14:41 +02:00
parent a187f113b8
commit ec83386b9c
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -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";