Files
nix/hosts/jupiter/users/tv/configs/gui/steam/default.nix
2025-09-07 14:12:17 +01:00

24 lines
391 B
Nix

{ user, home }:
{ lib, ... }:
{
programs.steam.gamescopeSession = {
enable = true;
args = [
"-O"
"HDMI-A-1"
"-W"
"3840"
"-H"
"2160"
"--hdr-enabled"
"--adaptive-sync"
];
};
home-manager.users.${user}.programs.zsh.loginExtra = lib.mkAfter ''
if [[ "$(tty)" = "/dev/tty1" ]]; then
exec steam-gamescope
fi
'';
}