From 3d47d56ce47d22159f75e9f619687050681ce211 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 18 Jul 2023 18:04:12 +0300 Subject: [PATCH] Open firewall port for syncthing --- hosts/nixos/lapetus/services/syncthing.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/nixos/lapetus/services/syncthing.nix b/hosts/nixos/lapetus/services/syncthing.nix index f07f1fa..3a9303e 100644 --- a/hosts/nixos/lapetus/services/syncthing.nix +++ b/hosts/nixos/lapetus/services/syncthing.nix @@ -1,6 +1,8 @@ { imports = [ ../../common/optional/syncthing.nix ]; + networking.firewall.allowedTCPPorts = [ 8384 ]; + services.syncthing = { devices.lapetus.id = ""; guiAddress = "0.0.0.0:8384"; # TODO: put this behind nginx