Skip to content

Commit 1da344a

Browse files
committed
Fixed issues with Steam not wanting to launch Gamescope. Tips from: NixOS/nixpkgs#162562 (comment)
1 parent eced92d commit 1da344a

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

configuration.nix

+26-1
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,32 @@
549549
};
550550

551551
programs = {
552-
steam.enable = true;
552+
steam = {
553+
enable = true;
554+
package = pkgs.steam.override {
555+
extraEnv = {};
556+
extraLibraries = pkgs: with pkgs; [
557+
xorg.libXcursor
558+
xorg.libXi
559+
xorg.libXinerama
560+
xorg.libXScrnSaver
561+
libpng
562+
libpulseaudio
563+
libvorbis
564+
stdenv.cc.cc.lib
565+
libkrb5
566+
keyutils
567+
];
568+
};
569+
gamescopeSession = {
570+
enable = true;
571+
args = [
572+
"--rt"
573+
"-f"
574+
"-o 10"
575+
];
576+
};
577+
};
553578
git.enable = true;
554579
bash = {
555580
promptInit = ''

0 commit comments

Comments
 (0)