From e5dd1b7e89a146d12ab7ba62c6e92e237ffd9237 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Tue, 8 Feb 2022 12:11:53 +0100 Subject: [PATCH] [Services] Add ananicy tuning for Xorg --- services.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/services.nix b/services.nix index 3271536..9b0ae4f 100644 --- a/services.nix +++ b/services.nix @@ -81,6 +81,17 @@ in { type = "BG_CPUIO"; } { name = "nix"; type = "BG_CPUIO"; } + { name = "X"; + type = "LowLatency_RT"; } + (ifEnable false { name = "hdapsd"; + type = "LowLatency_RT"; + sched = "fifo"; + rtprio = 99; + ioclass = "realtime"; + ionice = 0; + oom_score_adj = -999; + nice = -20; + }) ] (x: builtins.toJSON x)); programs.gnupg = {