mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 17:57:50 +00:00
[Services] Add ananicy tuning for Xorg
This commit is contained in:
parent
9980c17d36
commit
e5dd1b7e89
1 changed files with 11 additions and 0 deletions
11
services.nix
11
services.nix
|
|
@ -81,6 +81,17 @@ in {
|
||||||
type = "BG_CPUIO"; }
|
type = "BG_CPUIO"; }
|
||||||
{ name = "nix";
|
{ name = "nix";
|
||||||
type = "BG_CPUIO"; }
|
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));
|
] (x: builtins.toJSON x));
|
||||||
|
|
||||||
programs.gnupg = {
|
programs.gnupg = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue