stuff
This commit is contained in:
parent
13b65f8acd
commit
f2ed82ad3f
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue