This commit is contained in:
Lukas Wurzinger 2025-03-30 16:20:43 +00:00
parent 13b65f8acd
commit f2ed82ad3f
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View file

@ -1,9 +1,11 @@
{ {config, ...}: let
inherit (config.networking) hostname;
in {
services.syncthing = { services.syncthing = {
enable = true; enable = true;
systemService = true; systemService = true;
openDefaultPorts = true; openDefaultPorts = true;
guiAddress = "0.0.0.0:4000"; guiAddress = "${hostname}.tailnet.helveticanonstandard.net:4000";
overrideDevices = false; overrideDevices = false;
overrideFolders = false; overrideFolders = false;
}; };

View file

@ -10,8 +10,5 @@
]; ];
# Required to connect to Tailscale exit nodes # Required to connect to Tailscale exit nodes
checkReversePath = "loose"; checkReversePath = "loose";
interfaces.${config.services.tailscale.interfaceName} = {
allowedTCPPorts = [4000];
};
}; };
} }