From 7ecf4f3c614300119ffffe4182ebec14b8f57a8e Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 29 Jan 2024 11:23:32 +0100 Subject: [PATCH] syncthing: add inotify --- clanModules/syncthing.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clanModules/syncthing.nix b/clanModules/syncthing.nix index 6ea02573c..653c58e86 100644 --- a/clanModules/syncthing.nix +++ b/clanModules/syncthing.nix @@ -62,6 +62,10 @@ } ]; + # Activates inofify compatibilty on syncthing + boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288; + + services.syncthing = { enable = true; configDir = "/var/lib/syncthing";