{ pkgs, ... }: { services.syncthing = { enable = true; user = "anish"; dataDir = "/home/anish/usr/syncthing"; guiAddress = "0.0.0.0:8384"; }; mossnet.backup = { enable = true; name = "syncthing"; paths = [ "/home/anish/usr/syncthing" ]; }; networking.firewall.allowedTCPPorts = [ 8384 22000 ]; networking.firewall.allowedUDPPorts = [ 22000 21027 ]; }