From 7709bebb1e689596cf45c1055c9b6f7c73f58eb6 Mon Sep 17 00:00:00 2001 From: tristan Date: Sat, 19 Apr 2025 11:51:02 +0100 Subject: [PATCH] zenix: gamescope on tv --- nixos/programs/gamer.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/programs/gamer.nix b/nixos/programs/gamer.nix index 7615af6..62452f1 100644 --- a/nixos/programs/gamer.nix +++ b/nixos/programs/gamer.nix @@ -17,7 +17,11 @@ dedicatedServer.openFirewall = true; gamescopeSession = { enable = true; - args = ["-r" "120" "-O" "HDMI-A-1" "--rt" "--hdr-enabled" "--adaptive-sync"]; + args = ["-r" "120" "-W" "3840" "-H" "2160" "-O" "HDMI-A-1" "--rt" "--hdr-enabled" "--adaptive-sync"]; + env = { + ENABLE_HDR_WSI = "1"; + DXVK_HDR = "1"; + }; }; }; programs.gamescope = {