diff --git a/modules/home-manager/cargo.nix b/modules/home-manager/cargo.nix index 12382da..9318238 100644 --- a/modules/home-manager/cargo.nix +++ b/modules/home-manager/cargo.nix @@ -3,7 +3,7 @@ enable = true; text = '' [build] - rustdocflags = ["--default-theme=ayu"]; + rustdocflags = ["--default-theme=ayu"] ''; }; diff --git a/modules/nixos/steam.nix b/modules/nixos/steam.nix index a5b43d9..a17cf51 100644 --- a/modules/nixos/steam.nix +++ b/modules/nixos/steam.nix @@ -4,4 +4,20 @@ # programs.steam.package = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.steam; programs.steam.remotePlay.openFirewall = true; services.udev.packages = with pkgs; [steam]; + + # remote play ports + networking.firewall.allowedUDPPortRanges = [ + { + from = 27031; + to = 27036; + } + ]; + networking.firewall.allowedTCPPortRanges = [ + { + from = 27036; + to = 27037; + } + ]; + # UDP 27031, 27036 + # TCP 27036, 27037 }