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 {
|
package = pkgs.steam.override {
|
||||||
extraPkgs = sp: with sp; [ gamescope ];
|
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 = {
|
gamescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
capSysNice = true;
|
||||||
args = [
|
args = [
|
||||||
|
"--output-width"
|
||||||
|
"2560"
|
||||||
|
"--output-height"
|
||||||
|
"1440"
|
||||||
|
"--filter"
|
||||||
|
"fsr"
|
||||||
"--rt"
|
"--rt"
|
||||||
"--fullscreen"
|
"--fullscreen"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue