diff --git a/clanModules/syncthing.nix b/clanModules/syncthing.nix index 09b24abc..a5bd2d97 100644 --- a/clanModules/syncthing.nix +++ b/clanModules/syncthing.nix @@ -65,7 +65,9 @@ ]; # Activates inotify compatibility on syncthing - boot.kernel.sysctl."fs.inotify.max_user_watches" = lib.mkDefault 524288; + # use mkOverride 900 here as it otherwise would collide with the default of the + # upstream nixos xserver.nix + boot.kernel.sysctl."fs.inotify.max_user_watches" = lib.mkOverride 900 524288; services.syncthing = { enable = true;