syncthing: configure key, cert & max_user_watches
This commit is contained in:
parent
8a02c7858c
commit
d97edee14c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user