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 {
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
};
};
};
}