From dd460e9f4fb39ff9ac343655a1cf68cc4b9a2b99 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Wed, 31 Jan 2024 10:43:43 +0700 Subject: [PATCH] syncthing: make inotify tuning overrideable --- clanModules/syncthing.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clanModules/syncthing.nix b/clanModules/syncthing.nix index 653c58e86..6333625e0 100644 --- a/clanModules/syncthing.nix +++ b/clanModules/syncthing.nix @@ -63,8 +63,7 @@ ]; # Activates inofify compatibilty on syncthing - boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288; - + boot.kernel.sysctl."fs.inotify.max_user_watches" = lib.mkDefault 524288; services.syncthing = { enable = true;