From 21c5e76082e2f0733bc000d7870647b7fa68614f Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Sun, 18 Aug 2024 20:58:05 +0200 Subject: [PATCH] fix --- hosts/vessel/syncthing.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/vessel/syncthing.nix b/hosts/vessel/syncthing.nix index 3edf0bf..2261321 100644 --- a/hosts/vessel/syncthing.nix +++ b/hosts/vessel/syncthing.nix @@ -1,7 +1,12 @@ -{ +let + guiPort = 8384; +in { services.syncthing = { enable = true; systemService = true; openDefaultPorts = true; + guiAddress = "0.0.0.0:${guiPort}"; }; + + networking.firewall.allowedTCPPorts = [guiPort]; }