helm/hosts/profiles/syncthing/default.nix

17 lines
334 B
Nix
Raw Permalink Normal View History

2022-09-18 15:13:50 -07:00
{ pkgs, ... }:
{
services.syncthing = {
enable = true;
user = "anish";
group = "users";
dataDir = "/home/anish/";
configDir = "/home/anish/.config/syncthing";
};
2022-10-04 03:37:02 -07:00
# TODO reproducible shares?
2022-09-18 15:13:50 -07:00
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
}