mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +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"; }
|
||||
{ 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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue