diff options
author | lassulus <lassulus@lassul.us> | 2021-03-26 20:07:43 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-03-26 20:07:43 +0100 |
commit | d97edee14c0db81f18ce901b4c63a863f7716887 (patch) | |
tree | 102cdf7067046c06a58c523024fbb0b391a0a92b /krebs/2configs/syncthing.nix | |
parent | 8a02c7858c9958fce1173801cb5839306a87eae2 (diff) |
syncthing: configure key, cert & max_user_watches
Diffstat (limited to 'krebs/2configs/syncthing.nix')
-rw-r--r-- | krebs/2configs/syncthing.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/krebs/2configs/syncthing.nix b/krebs/2configs/syncthing.nix index 31e33ad5e..125e2aea4 100644 --- a/krebs/2configs/syncthing.nix +++ b/krebs/2configs/syncthing.nix @@ -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; } |