fix gamemode
This commit is contained in:
parent
e400a3dc90
commit
3fff2cd853
2 changed files with 7 additions and 1 deletions
|
@ -22,4 +22,4 @@ each host should have these files:
|
|||
- qt themes?
|
||||
- sddm cursors no work :(
|
||||
- setup editorconfig everywhere
|
||||
- fix gamemoded cpu sched
|
||||
- divide steam and gamemode?
|
|
@ -10,6 +10,10 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
programs.steam.enable = true;
|
||||
|
||||
# optimize linux system performance on demand
|
||||
# https://github.com/FeralInteractive/gamemode
|
||||
user.extraGroups = [ "gamemode" ];
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
|
@ -20,6 +24,7 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
|
@ -28,6 +33,7 @@ in {
|
|||
enable = true;
|
||||
args = [ "-W 1920" "-H 1080" "-r 60" "--expose-wayland" "-e" ];
|
||||
};
|
||||
|
||||
user.packages = [ pkgs.protontricks pkgs.steam-run ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue