mossnet syncthing

This commit is contained in:
Anish L 2022-07-01 20:01:28 +10:00
parent 5f699b2b79
commit 0b15a58e57

View file

@ -0,0 +1,19 @@
{ 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 ];
}