steam: add gamescope support

This commit is contained in:
Aly Raffauf 2024-06-15 20:21:34 -04:00
parent bfe0eff46d
commit 7e42bde3db

View file

@ -6,12 +6,16 @@
}: { }: {
config = lib.mkIf config.alyraffauf.apps.steam.enable { config = lib.mkIf config.alyraffauf.apps.steam.enable {
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;
programs.steam = { programs = {
enable = true; gamescope.enable = true;
remotePlay.openFirewall = steam = {
true; # Open ports in the firewall for Steam Remote Play enable = true;
dedicatedServer.openFirewall = gamescopeSession.enable = true;
true; # Open ports in the firewall for Source Dedicated Server remotePlay.openFirewall =
true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall =
true; # Open ports in the firewall for Source Dedicated Server
};
}; };
}; };
} }