fix gamescope with steam

This commit is contained in:
mjallen18
2024-02-02 09:48:28 -06:00
parent cca32e7d47
commit f686aa7b26

View File

@@ -191,6 +191,23 @@ in
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
hardware.opengl.driSupport32Bit = true; # Enables support for 32bit libs that steam uses
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.