From f2ed82ad3f81730773d2c1158cee62115e5c708d Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Sun, 30 Mar 2025 16:20:43 +0000 Subject: [PATCH] stuff --- common/syncthing.nix | 6 ++++-- common/tailscale.nix | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/syncthing.nix b/common/syncthing.nix index c884777..64fd3f1 100644 --- a/common/syncthing.nix +++ b/common/syncthing.nix @@ -1,9 +1,11 @@ -{ +{config, ...}: let + inherit (config.networking) hostname; +in { services.syncthing = { enable = true; systemService = true; openDefaultPorts = true; - guiAddress = "0.0.0.0:4000"; + guiAddress = "${hostname}.tailnet.helveticanonstandard.net:4000"; overrideDevices = false; overrideFolders = false; }; diff --git a/common/tailscale.nix b/common/tailscale.nix index b948a5f..12922dd 100644 --- a/common/tailscale.nix +++ b/common/tailscale.nix @@ -10,8 +10,5 @@ ]; # Required to connect to Tailscale exit nodes checkReversePath = "loose"; - interfaces.${config.services.tailscale.interfaceName} = { - allowedTCPPorts = [4000]; - }; }; }