Add steam on jupiter

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-07 14:12:17 +01:00
parent 1d3a3cc805
commit 24d31f6881
8 changed files with 91 additions and 32 deletions

View File

@@ -0,0 +1,23 @@
{ 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
'';
}