feat(paperless): improved settings

This commit is contained in:
Malte Tammena 2023-11-06 11:07:10 +01:00
parent 8994b48196
commit 80d08ea805

View file

@ -250,9 +250,11 @@ in {
passwordFile = sopsPath "paperless-admin-password"; passwordFile = sopsPath "paperless-admin-password";
dataDir = "/data/dirty/paperless"; dataDir = "/data/dirty/paperless";
extraConfig = { extraConfig = {
PAPERLESS_OCR_LANGUAGE = "deu"; PAPERLESS_CONSUMER_DELETE_DUPLICATES = true;
PAPERLESS_CONSUMER_RECURSIVE = true; PAPERLESS_CONSUMER_RECURSIVE = true;
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true; PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS = true;
PAPERLESS_FILENAME_FORMAT = "{created_year}/{correspondent}/{created_year}-{created_month}-{created_day}-{document_type}-{title}-{tag_list}";
PAPERLESS_OCR_LANGUAGE = "deu";
PAPERLESS_URL = "https://doc.home"; PAPERLESS_URL = "https://doc.home";
}; };
}; };