[Services] Add ananicy tuning for Xorg

This commit is contained in:
Antoine Viallon 2022-02-08 12:11:53 +01:00
parent 9980c17d36
commit e5dd1b7e89
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -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 = {