summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/syncthing.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-28 11:05:19 +0100
committerlassulus <lassulus@lassul.us>2022-01-28 11:05:19 +0100
commit8f603a3f218bf35285a50c03f257902eca3efa61 (patch)
tree025d61bf6ce2939bcbee53979be437068a2350c6 /krebs/2configs/syncthing.nix
parent0501b46d1358e24ba077c020b2c8dcbb011f101a (diff)
syncthing: remove declarative namespace
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;