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

This commit is contained in:
DavHau 2024-04-02 17:55:49 +07:00
parent 7de7e25e78
commit dd0dbbd29f
1 changed files with 3 additions and 1 deletions

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;