diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 16e1d9d..4d206c9 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -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 = [ ... ];