diff --git a/modules/linux/nixos/gaming.nix b/modules/linux/nixos/gaming.nix index 252cf6e..0109658 100644 --- a/modules/linux/nixos/gaming.nix +++ b/modules/linux/nixos/gaming.nix @@ -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;