gamemode stuff

This commit is contained in:
alyx 2025-07-08 13:17:37 +01:00
parent c6f9ef97af
commit d24948d9c7
No known key found for this signature in database

View file

@ -40,7 +40,20 @@
# stuff to make steam behave nicely, amongst other things (Gamemode, gamescope)
programs.gamemode.enable = true;
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
softrealtime = "auto";
renice = 10;
};
custom = {
start = "notify-send -a 'Gamemode' 'Optimizations activated'";
end = "notify-send -a 'Gamemode' 'Optimizations deactivated'";
};
};
};
programs.gamescope = {
enable = true;