l syncthing: remove duplicate definitions
This commit is contained in:
parent
f5a04ffc57
commit
9af0549554
@ -3,10 +3,6 @@
|
|||||||
imports = [ <stockholm/krebs/2configs/syncthing.nix> ];
|
imports = [ <stockholm/krebs/2configs/syncthing.nix> ];
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
group = "syncthing";
|
group = "syncthing";
|
||||||
declarative = {
|
|
||||||
key = toString <secrets/syncthing.key>;
|
|
||||||
cert = toString <secrets/syncthing.cert>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
krebs.iptables.tables.filter.INPUT.rules = [
|
krebs.iptables.tables.filter.INPUT.rules = [
|
||||||
{ predicate = "-p tcp --dport 22000"; target = "ACCEPT";}
|
{ predicate = "-p tcp --dport 22000"; target = "ACCEPT";}
|
||||||
@ -16,6 +12,4 @@
|
|||||||
system.activationScripts.syncthing-home = mkDefault ''
|
system.activationScripts.syncthing-home = mkDefault ''
|
||||||
${pkgs.coreutils}/bin/chmod a+x /home/lass
|
${pkgs.coreutils}/bin/chmod a+x /home/lass
|
||||||
'';
|
'';
|
||||||
|
|
||||||
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user