From 7e42bde3db5cea17727cb9b3540e621dea63d8eb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 15 Jun 2024 20:21:34 -0400 Subject: [PATCH] steam: add gamescope support --- nixosModules/apps/steam/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 + }; }; }; }