add steam gamescope for remote gaming
This commit is contained in:
parent
19cb85fa73
commit
208352c2dc
3 changed files with 20 additions and 7 deletions
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -340,11 +340,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775221564,
|
"lastModified": 1775228139,
|
||||||
"narHash": "sha256-O2/JCtH6VPVypyshKEqW7hKvypvxvjwWBclI89wZJO8=",
|
"narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "6ac8a11735e3f5cda30adb1527cb7def63e7100a",
|
"rev": "601971b9c89e0304561977f2c28fa25e73aa7132",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -361,11 +361,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775221564,
|
"lastModified": 1775228139,
|
||||||
"narHash": "sha256-O2/JCtH6VPVypyshKEqW7hKvypvxvjwWBclI89wZJO8=",
|
"narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "6ac8a11735e3f5cda30adb1527cb7def63e7100a",
|
"rev": "601971b9c89e0304561977f2c28fa25e73aa7132",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,6 @@
|
||||||
pkgs.efibootmgr
|
pkgs.efibootmgr
|
||||||
pkgs.prismlauncher
|
pkgs.prismlauncher
|
||||||
pkgs.nvtopPackages.nvidia
|
pkgs.nvtopPackages.nvidia
|
||||||
pkgs.gamescope
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
evince
|
evince
|
||||||
seahorse
|
seahorse
|
||||||
nautilus
|
nautilus
|
||||||
|
gamescope
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
@ -49,6 +50,19 @@
|
||||||
binPath = "${pkgs.sway}/bin/sway";
|
binPath = "${pkgs.sway}/bin/sway";
|
||||||
extraArgs = [ "--unsupported-gpu" ];
|
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"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue