Skip to content

Commit

Permalink
WIP: steam: Try to get gamescope to work?
Browse files Browse the repository at this point in the history
  • Loading branch information
TLATER committed Nov 23, 2023
1 parent fd9f26b commit 83fcbef
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion nixos-config/yui/games.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,25 @@
# Appears to resolve issues with crackling audio under high load
services.pipewire.lowLatency.enable = true;

programs.steam.enable = true;
programs.steam = {
enable = true;
# Allow gamescope to work in the steam fhs
package = pkgs.steam.override {
extraPkgs = pkgs:
with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
};

# Make steam controller work
hardware.steam-hardware.enable = true;
Expand Down

0 comments on commit 83fcbef

Please sign in to comment.