feat(gamemode): use ananicy to set nice values.
This commit is contained in:
parent
e1eb7acbd8
commit
9ed8f1f61d
1 changed files with 14 additions and 0 deletions
|
|
@ -22,6 +22,20 @@
|
||||||
# capSysNice = true;
|
# capSysNice = true;
|
||||||
package = pkgs.gamescope_git;
|
package = pkgs.gamescope_git;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Manage gamescope using ananicy
|
||||||
|
services.ananicy = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.ananicy-cpp;
|
||||||
|
rulesProvider = pkgs.ananicy-cpp;
|
||||||
|
extraRules = [
|
||||||
|
{
|
||||||
|
"name" = "gamescope";
|
||||||
|
"nice" = -20;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Install gamemode
|
# Install gamemode
|
||||||
programs.gamemode = {
|
programs.gamemode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue