services.paperless.tesseractLanguages

NixOS option

null or (list of string)

Languages to build into Tesseract. null includes all languages and may use binary-cached packages. Setting a smaller-than-default list reduces closure size, but means tesseract, ocrmypdf and paperless-ngx cannot be fetched from the cache and have to be built. eng, equ and osd are always included.

type: null or (list of string)
Default
lib.splitString "+" config.services.paperless.settings.PAPERLESS_OCR_LANGUAGE
# or null if setting is unset
Example
[
  "deu"
  "eng"
]
declared in: nixos/modules/services/misc/paperless.nixView source on NixOS/nixpkgs →