Disable capSysNice for gamescope to fix an issues launching games

Add gamescope args for Vanguard

Inhibit idle when gamescope is running
This commit is contained in:
Evie Litherland-Smith 2025-02-08 18:12:13 +00:00
parent f190cb58ed
commit bd6f59bb8f
3 changed files with 12 additions and 2 deletions

View file

@ -51,6 +51,16 @@
];
})
];
programs.gamescope.args = [
"-W 2540"
"-H 1440"
"-r 120"
"-F fsr"
"--fullscreen"
"--adaptive-sync"
"--mangoapp"
"-e"
];
services.hardware.openrgb.enable = true;
networking.wg-quick.interfaces.wg0.configFile = "/etc/wireguard/gb-mnc-wg-001.conf";
system.stateVersion = "23.05";

View file

@ -295,7 +295,7 @@
"idleinhibit fullscreen, class:firefox|com.github.rafostar.Clapper"
# Inhibit idle when playing games
"idleinhibit always, class:(steam_app|Minecraft).*"
"idleinhibit always, class:(steam_app|gamescope|Minecraft).*"
# LibreOffice
"suppressevent fullscreen maximize, class:(libreoffice|soffice)(.*)"

View file

@ -10,7 +10,7 @@
};
gamescope = {
enable = true;
capSysNice = true;
capSysNice = false; # Currently a bug with starting Steam games
};
};
home-manager.users.${username}.programs.mangohud = {