gamescope: set some default options, set CAP_SYS_NICE
This commit is contained in:
parent
bbfecde039
commit
5514480f1f
1 changed files with 23 additions and 0 deletions
|
@ -330,10 +330,33 @@ in
|
|||
package = pkgs.steam.override {
|
||||
extraPkgs = sp: with sp; [ gamescope ];
|
||||
};
|
||||
|
||||
gamescopeSession = {
|
||||
enable = true;
|
||||
args = [
|
||||
"--rt"
|
||||
"--output-width"
|
||||
"2560"
|
||||
"--output-height"
|
||||
"1440"
|
||||
"--adaptive-sync"
|
||||
"--filter"
|
||||
"fsr"
|
||||
"--expose-wayland"
|
||||
];
|
||||
# env = config.environment.sessionVariables;
|
||||
};
|
||||
};
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
args = [
|
||||
"--output-width"
|
||||
"2560"
|
||||
"--output-height"
|
||||
"1440"
|
||||
"--filter"
|
||||
"fsr"
|
||||
"--rt"
|
||||
"--fullscreen"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue