From 5514480f1fdf25a3c2568d01ed5fc1d6b2700c4d Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Thu, 21 Sep 2023 23:27:50 +0200 Subject: [PATCH] gamescope: set some default options, set CAP_SYS_NICE --- users/erwin/home.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/users/erwin/home.nix b/users/erwin/home.nix index 39cfe9b..41b15c8 100644 --- a/users/erwin/home.nix +++ b/users/erwin/home.nix @@ -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" ];