stockholm/lass/2configs/syncthing.nix

13 lines
304 B
Nix
Raw Normal View History

2017-04-16 21:35:25 +00:00
{ 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";}
];
}