summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/syncthing.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-01-28 23:04:45 +0100
committermakefu <github@syntax-fehler.de>2022-01-28 23:04:45 +0100
commit984ee05ec2b1ff8c7caba3d2580e8f7978f267b8 (patch)
treeb112b7a7894e59281f5eb77fc8ac195003640ae9 /krebs/2configs/syncthing.nix
parentbdbb5cea1e6afd8c11a3874b88292f20a1635b6d (diff)
parent5e3141c9e958e2b2f48d4245ca0a894f9eaaf714 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/2configs/syncthing.nix')
-rw-r--r--krebs/2configs/syncthing.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/krebs/2configs/syncthing.nix b/krebs/2configs/syncthing.nix
index 125e2aea4..dac1863d5 100644
--- a/krebs/2configs/syncthing.nix
+++ b/krebs/2configs/syncthing.nix
@@ -8,11 +8,9 @@ in {
services.syncthing = {
enable = true;
configDir = "/var/lib/syncthing";
- declarative = {
- devices = mk_peers used_peers;
- key = toString <secrets/syncthing.key>;
- cert = toString <secrets/syncthing.cert>;
- };
+ devices = mk_peers used_peers;
+ key = toString <secrets/syncthing.key>;
+ cert = toString <secrets/syncthing.cert>;
};
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
[cgit] Unable to lock slot /tmp/cgit/41300000.lock: No such file or directory (2)