puter/hosts/vessel/syncthing.nix
2024-08-18 20:59:12 +02:00

13 lines
242 B
Nix

let
guiPort = 8384;
in {
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
guiAddress = "0.0.0.0:${builtins.toString guiPort}";
};
networking.firewall.allowedTCPPorts = [guiPort];
}