Gamescope and gamemode are configurable
This commit is contained in:
parent
79bda5ab72
commit
a8114e7728
1 changed files with 14 additions and 2 deletions
|
@ -19,10 +19,22 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.gamemode.enable = cfg.gamemode;
|
programs.gamemode = {
|
||||||
programs.gamescope.enable = cfg.gamescope;
|
enable = cfg.gamemode;
|
||||||
|
};
|
||||||
|
programs.gamescope = {
|
||||||
|
enable = cfg.gamescope;
|
||||||
|
capSysNice = true;
|
||||||
|
};
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
gamescopeSession = {
|
||||||
|
enable = cfg.gamescope;
|
||||||
|
args = [
|
||||||
|
"-O DP-2"
|
||||||
|
"-F fsr"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue