2022-07-01 03:01:28 -07:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
|
|
|
user = "anish";
|
2022-07-01 06:18:00 -07:00
|
|
|
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
|
|
|
}
|