summaryrefslogtreecommitdiffstats
path: root/lass/2configs/syncthing.nix
blob: cef43d1e6e9ba0ea255e2139317de506bcb2b14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, pkgs, ... }:
with import <stockholm/lib>;
{
  services.syncthing = {
    enable = true;
    useInotify = true;
  };
  krebs.iptables.tables.filter.INPUT.rules = [
    { predicate = "-p tcp --dport 22000"; target = "ACCEPT";}
    { predicate = "-p udp --dport 21027"; target = "ACCEPT";}
  ];
}