diff --git a/configuration.nix b/configuration.nix index 951424a..cdec2d8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -64,6 +64,20 @@ in enable = true; xwayland.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 + localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers + }; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "steam" + "steam-original" + "steam-unwrapped" + "steam-run" + ]; + + services.openssh = { enable = true;