steam: fix gamescope compatibility

This commit is contained in:
Leonardo Eugênio 2024-08-14 00:34:06 -03:00
parent 560b6f1c2a
commit 30225c2678

View file

@ -6,23 +6,28 @@
}: }:
{ {
programs.steam.enable = true; programs.steam.enable = true;
programs.steam.package = pkgs.steam.override { programs.steam.extraPackages =
extraLibraries = config.fonts.packages
pkgs: ++ (with pkgs; [
with config.hardware.opengl; capitaine-cursors
if pkgs.hostPlatform.is64bit then bibata-cursors
[ package ] ++ extraPackages mangohud
else xdg-user-dirs
[ package32 ] ++ extraPackages32; gamescope
# gamescope compatibility??
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
]);
extraPkgs =
pkgs: with pkgs; [
capitaine-cursors
bibata-cursors
mangohud
xdg-user-dirs
];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
protontricks protontricks
bottles bottles