helm/profiles/syncthing/default.nix

15 lines
303 B
Nix
Raw Normal View History

2022-07-01 03:01:28 -07:00
{ pkgs, ... }:
{
services.syncthing = {
enable = true;
user = "anish";
group = "users";
dataDir = "/home/anish/";
configDir = "/home/anish/.config/syncthing";
2022-07-01 03:01:28 -07:00
};
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
2022-07-01 07:21:51 -07:00
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
2022-07-01 03:01:28 -07:00
}