diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/syncthing.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/syncthing.nix b/modules/syncthing.nix new file mode 100644 index 0000000..4144f7b --- /dev/null +++ b/modules/syncthing.nix @@ -0,0 +1,12 @@ +{ pkgs, libs, config, ... }: +{ + + services.syncthing = { + enable = true; + guiAddress = "krinitsin.com:8384"; + dataDir = "/var/lib/syncthing"; + openDefaultPorts = true; + }; + + networking.firewall.allowedTCPPorts = [ 8384 ]; +} |