Skip to content

Commit

Permalink
Merge pull request #239 from Jovian-Experiments/wsi
Browse files Browse the repository at this point in the history
steam: enable gamescope wsi
  • Loading branch information
K900 authored Dec 2, 2023
2 parents b04393b + fe28863 commit 365027e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/steam/steam.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ in
};
}
{
hardware.opengl.driSupport32Bit = true;
hardware.opengl = {
driSupport32Bit = true;
extraPackages = [ pkgs.gamescope.lib ];
extraPackages32 = [ (pkgs.pkgsi686Linux.gamescope.overrideAttrs(old: {
mesonFlags = old.mesonFlags or [] ++ ["-Denable_gamescope=false"];
postInstall = null;
})).lib ];
};

hardware.pulseaudio.support32Bit = true;
hardware.steam-hardware.enable = mkDefault true;

Expand Down

0 comments on commit 365027e

Please sign in to comment.