Add Steam

I wanna play!
This commit is contained in:
Chris Thompson 2024-11-11 02:13:00 -05:00
parent 2d55c4ed8c
commit 1e36e1389c

View file

@ -180,6 +180,19 @@
#environment.variables.VK_ICD_FILENAMES =
# "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
# Steam
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
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
programs.java.enable = true;
programs.steam.package = pkgs.steam.override { withJava = true; };
programs.steam.gamescopeSession.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];