gamemode stuff
This commit is contained in:
parent
c6f9ef97af
commit
d24948d9c7
1 changed files with 14 additions and 1 deletions
|
|
@ -40,7 +40,20 @@
|
||||||
|
|
||||||
# stuff to make steam behave nicely, amongst other things (Gamemode, gamescope)
|
# 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 = {
|
programs.gamescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue