add steam gamescope for remote gaming

This commit is contained in:
alisceon 2026-04-03 17:05:32 +02:00
parent 19cb85fa73
commit 208352c2dc
3 changed files with 20 additions and 7 deletions

12
flake.lock generated
View file

@ -340,11 +340,11 @@
]
},
"locked": {
"lastModified": 1775221564,
"narHash": "sha256-O2/JCtH6VPVypyshKEqW7hKvypvxvjwWBclI89wZJO8=",
"lastModified": 1775228139,
"narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=",
"owner": "nix-community",
"repo": "NUR",
"rev": "6ac8a11735e3f5cda30adb1527cb7def63e7100a",
"rev": "601971b9c89e0304561977f2c28fa25e73aa7132",
"type": "github"
},
"original": {
@ -361,11 +361,11 @@
]
},
"locked": {
"lastModified": 1775221564,
"narHash": "sha256-O2/JCtH6VPVypyshKEqW7hKvypvxvjwWBclI89wZJO8=",
"lastModified": 1775228139,
"narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=",
"owner": "nix-community",
"repo": "NUR",
"rev": "6ac8a11735e3f5cda30adb1527cb7def63e7100a",
"rev": "601971b9c89e0304561977f2c28fa25e73aa7132",
"type": "github"
},
"original": {

View file

@ -63,7 +63,6 @@
pkgs.efibootmgr
pkgs.prismlauncher
pkgs.nvtopPackages.nvidia
pkgs.gamescope
];
};

View file

@ -15,6 +15,7 @@
evince
seahorse
nautilus
gamescope
];
programs = {
@ -49,6 +50,19 @@
binPath = "${pkgs.sway}/bin/sway";
extraArgs = [ "--unsupported-gpu" ];
};
big_picture = {
prettyName = "Steam Big Picture";
comment = "Launch in big picture mode within a gamescope container";
binPath = "${pkgs.gamescope}/bin/gamescope";
extraArgs = [
"-e"
"-W 1920"
"-H 1080"
"--"
"/usr/bin/steam"
"-tenfoot"
];
};
};
};