summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/common.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/common.nix b/nixos/common.nix
index a840d3b..798fbc0 100644
--- a/nixos/common.nix
+++ b/nixos/common.nix
@@ -144,8 +144,12 @@
};
# Open ports in the firewall.
- # networking.firewall.allowedTCPPorts = [ ... ];
- # networking.firewall.allowedUDPPorts = [ ... ];
+ networking.firewall.allowedTCPPorts = [
+ 22000 # syncthing
+ ];
+ networking.firewall.allowedUDPPorts = [
+ 22000 # syncthing
+ ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;