syncthing: fix conflicting definition of fs.inotify.max_user_watches
All checks were successful
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 3m44s

This commit is contained in:
DavHau 2024-04-02 17:55:49 +07:00
parent 7de7e25e78
commit dd0dbbd29f

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;