summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-01-03 18:29:33 +0000
committerAlan Pearce2018-01-03 18:29:33 +0000
commit590f508681facee9ec586351036d0a15b54707d7 (patch)
tree57bf0b6a76f77f4ad9752cd615affcc85689c27b /modules
parent4fe35f037b3249042fc072d255fe3134322293ac (diff)
downloadnixfiles-590f508681facee9ec586351036d0a15b54707d7.tar.lz
nixfiles-590f508681facee9ec586351036d0a15b54707d7.tar.zst
nixfiles-590f508681facee9ec586351036d0a15b54707d7.zip
Allow Steam ports in firewall settings
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/steam.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix
index d4bad7a0..00236788 100644
--- a/modules/programs/steam.nix
+++ b/modules/programs/steam.nix
@@ -5,4 +5,15 @@
   ];
   hardware.opengl.driSupport32Bit = true;
   hardware.pulseaudio.support32Bit = true;
+
+  networking.firewall = {
+    allowedUDPPorts = [
+      27031
+      27036
+    ];
+    allowedTCPPorts = [
+      27036
+      27037
+    ];
+  };
 }