diff --git a/nixosModules/apps/steam/default.nix b/nixosModules/apps/steam/default.nix index 9b3ef6e9..26aeb384 100644 --- a/nixosModules/apps/steam/default.nix +++ b/nixosModules/apps/steam/default.nix @@ -6,12 +6,16 @@ }: { config = lib.mkIf config.alyraffauf.apps.steam.enable { hardware.steam-hardware.enable = true; - programs.steam = { - enable = true; - remotePlay.openFirewall = - true; # Open ports in the firewall for Steam Remote Play - dedicatedServer.openFirewall = - true; # Open ports in the firewall for Source Dedicated Server + programs = { + gamescope.enable = true; + steam = { + enable = true; + gamescopeSession.enable = true; + remotePlay.openFirewall = + true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = + true; # Open ports in the firewall for Source Dedicated Server + }; }; }; }