l syncthing: remove duplicate definitions

This commit is contained in:
lassulus 2021-03-26 20:41:01 +01:00
parent f5a04ffc57
commit 9af0549554

View File

@ -3,10 +3,6 @@
imports = [ <stockholm/krebs/2configs/syncthing.nix> ];
services.syncthing = {
group = "syncthing";
declarative = {
key = toString <secrets/syncthing.key>;
cert = toString <secrets/syncthing.cert>;
};
};
krebs.iptables.tables.filter.INPUT.rules = [
{ predicate = "-p tcp --dport 22000"; target = "ACCEPT";}
@ -16,6 +12,4 @@
system.activationScripts.syncthing-home = mkDefault ''
${pkgs.coreutils}/bin/chmod a+x /home/lass
'';
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
}