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