mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: soft-fail on ghostscript errors in paperless
This commit is contained in:
parent
f8c7193bd6
commit
3a514e7711
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ in {
|
||||||
PAPERLESS_CORS_ALLOWED_HOSTS = "https://${paperlessDomain}";
|
PAPERLESS_CORS_ALLOWED_HOSTS = "https://${paperlessDomain}";
|
||||||
PAPERLESS_TRUSTED_PROXIES = sentinelCfg.meta.wireguard.proxy-sentinel.ipv4;
|
PAPERLESS_TRUSTED_PROXIES = sentinelCfg.meta.wireguard.proxy-sentinel.ipv4;
|
||||||
|
|
||||||
|
# Ghostscript is entirely bug-free.
|
||||||
|
PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
|
||||||
|
continue_on_soft_render_error = true;
|
||||||
|
};
|
||||||
|
|
||||||
# virtiofsd doesn't send inotify events (not sure if generally, or because we
|
# virtiofsd doesn't send inotify events (not sure if generally, or because we
|
||||||
# mount the same host share on another vm (samba) and modify it there).
|
# mount the same host share on another vm (samba) and modify it there).
|
||||||
PAPERLESS_CONSUMER_POLLING = 1; # seconds
|
PAPERLESS_CONSUMER_POLLING = 1; # seconds
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue