Merge pull request 'syncthing: fix conflicting definition of fs.inotify.max_user_watches' (#1090) from DavHau-dave into main
All checks were successful
checks / check-links (push) Successful in 14s
checks / checks (push) Successful in 38s
checks / checks-impure (push) Successful in 1m49s

This commit is contained in:
clan-bot 2024-04-02 11:00:26 +00:00
commit b342e3f991

View File

@ -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;