gamescope: set some default options, set CAP_SYS_NICE

This commit is contained in:
Erwin Boskma 2023-09-21 23:27:50 +02:00
parent bbfecde039
commit 5514480f1f
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -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"
];