Skip to content

Commit

Permalink
Downgrade gamescope to fix regression in X11
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 10, 2025
1 parent 1536bed commit a0e7196
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/gaming.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ in

gamemode.enable = true;
gamescope.enable = true;
# gamescope 3.16 is broken in X11
# https://github.com/ValveSoftware/gamescope/issues/1696#issuecomment-2571688418
gamescope.package = pkgs.gamescope.overrideAttrs (_: rec {
version = "3.15.15";
src = pkgs.fetchFromGitHub {
owner = "ValveSoftware";
repo = "gamescope";
rev = "refs/tags/${version}";
fetchSubmodules = true;
hash = "sha256-FiPSGzfA3YH9TED8E5hpfpd+IQGthvwsxAFXZuqVZ4Q=";
};
});

# for minecraft
java.enable = true;
Expand Down

0 comments on commit a0e7196

Please sign in to comment.