steam: allow remote play ports
This commit is contained in:
parent
2b95f07c46
commit
c9787b39f8
2 changed files with 17 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
text = ''
|
text = ''
|
||||||
[build]
|
[build]
|
||||||
rustdocflags = ["--default-theme=ayu"];
|
rustdocflags = ["--default-theme=ayu"]
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,20 @@
|
||||||
# programs.steam.package = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.steam;
|
# programs.steam.package = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.steam;
|
||||||
programs.steam.remotePlay.openFirewall = true;
|
programs.steam.remotePlay.openFirewall = true;
|
||||||
services.udev.packages = with pkgs; [steam];
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue