try to fix paperless-ngx build

This commit is contained in:
Ingolf Wagner 2025-01-18 22:02:14 +13:00
parent afbd7952e9
commit cea5fae7ea
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -38,4 +38,13 @@
autoScrub.enable = true;
};
# Because of https://github.com/NixOS/nixpkgs/issues/361006#issuecomment-2598059564
# The default max inotify watches is 8192.
# Nowadays most apps require a good number of inotify watches,
# the value below is used by default on several other distros.
boot.kernel.sysctl = {
"fs.inotify.max_user_instances" = lib.mkDefault 524288;
"fs.inotify.max_user_watches" = lib.mkDefault 524288;
};
}