helm/hosts/profiles/syncthing/default.nix
2022-12-06 17:09:27 +10:00

17 lines
334 B
Nix

{ pkgs, ... }:
{
services.syncthing = {
enable = true;
user = "anish";
group = "users";
dataDir = "/home/anish/";
configDir = "/home/anish/.config/syncthing";
};
# TODO reproducible shares?
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
}