helm/profiles/syncthing/default.nix
Anish Lakhwara 89068f1040 comments
2022-10-04 20:37:02 +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 ];
}