feat(gamemode): use ananicy to set nice values.

This commit is contained in:
CronyAkatsuki 2025-11-25 14:24:38 +01:00
parent e1eb7acbd8
commit 9ed8f1f61d

View file

@ -22,6 +22,20 @@
# capSysNice = true;
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
programs.gamemode = {
enable = true;