Add steam on jupiter
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
23
hosts/jupiter/users/tv/configs/gui/steam/default.nix
Normal file
23
hosts/jupiter/users/tv/configs/gui/steam/default.nix
Normal 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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user