steam: gamescope fix

This commit is contained in:
NullBite 2024-04-21 17:14:27 -04:00
parent 51d3affaa8
commit bb756b32f7
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -16,7 +16,24 @@ in
nixpkgs.overlays = lib.optional is2311 (_: _: { nixpkgs.overlays = lib.optional is2311 (_: _: {
# unstable steam has new buildFSHEnv which doesn't break on rebuild # unstable steam has new buildFSHEnv which doesn't break on rebuild
steam = (import inputs.nixpkgs-unstable.outPath {config.allowUnfree = true; inherit (pkgs) system; }).steam; steam = (import inputs.nixpkgs-unstable.outPath {config.allowUnfree = true; inherit (pkgs) system; }).steam;
}); })
# gamescope fix
++ [(final: prev: {
steam = prev.steam.override {
extraPkgs = pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
})];
programs.steam = { programs.steam = {
enable = lib.mkDefault true; enable = lib.mkDefault true;