syncthing: configure key, cert & max_user_watches

This commit is contained in:
lassulus 2021-03-26 20:07:43 +01:00
parent 8a02c7858c
commit d97edee14c

View File

@ -10,6 +10,10 @@ in {
configDir = "/var/lib/syncthing";
declarative = {
devices = mk_peers used_peers;
key = toString <secrets/syncthing.key>;
cert = toString <secrets/syncthing.cert>;
};
};
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
}