From f686aa7b267cc769e83cc0afe30e7c44abe48995 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Fri, 2 Feb 2024 09:48:28 -0600 Subject: [PATCH] fix gamescope with steam --- configuration.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/configuration.nix b/configuration.nix index 9a85b6e..62db614 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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.