Add new joex option to nix module

This commit is contained in:
Eike Kettner 2021-01-06 23:06:13 +01:00
parent a670bbb6c2
commit a563ba33e7

View File

@ -118,6 +118,7 @@ let
]; ];
}; };
working-dir = "/tmp/docspell-analysis"; working-dir = "/tmp/docspell-analysis";
clear-stanford-nlp-interval = "15 minutes";
}; };
processing = { processing = {
max-due-date-years = 10; max-due-date-years = 10;
@ -771,6 +772,14 @@ in {
files. files.
''; '';
}; };
clear-stanford-nlp-interval = mkOption {
type = types.str;
default = defaults.text-analysis.clear-stanford-nlp-interval;
description = ''
Idle time after which the NLP caches are cleared to free
memory. If <= 0 clearing the cache is disabled.
'';
};
regex-ner = mkOption { regex-ner = mkOption {
type = types.submodule({ type = types.submodule({