From cf10f84160d371fd424f617fcd4afb2d8ff4cbd3 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Wed, 12 Feb 2025 22:02:58 +0300 Subject: [PATCH] add gamescope session --- profiles/applications/games/steam.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/profiles/applications/games/steam.nix b/profiles/applications/games/steam.nix index d3329fa..09b6c7f 100644 --- a/profiles/applications/games/steam.nix +++ b/profiles/applications/games/steam.nix @@ -3,6 +3,22 @@ programs.steam.extraCompatPackages = [ pkgs.proton-ge-bin ]; + programs.steam.gamescopeSession.enable = true; + programs.steam.gamescopeSession.env = { + MANGOHUD = "1"; + CONNECTOR = "*,DP-3"; + }; + programs.steam.gamescopeSession.args = [ + "-w 2560" + "-h 1440" + "-W 2560" + "-H 1440" + "-r 144" + "--hdr-enabled" + "--hdr-itm-enable" + "--adaptive-sync" + ]; + programs.gamescope.enable = true; programs.gamescope.capSysNice = false;