Fixed paperless OCR langages

This commit is contained in:
Julien Malka 2022-02-26 23:48:07 +01:00
parent e6a52b60db
commit 1e24eb44ab
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F

View file

@ -1,12 +1,12 @@
{ lib, pkgs, config, ... }:
with lib;
let
cfg = config.luj.jackett;
cfg = config.luj.paperless;
port = 28981;
in
{
options.luj.jackett = {
options.luj.paperless = {
enable = mkEnableOption "activate paperless service";
user = mkOption {
@ -29,7 +29,7 @@ in
user = cfg.user;
mediaDir = "/home/julien/papers";
extraConfig = {
PAPERLESS_OCR_LANGUAGE = "fre+eng";
PAPERLESS_OCR_LANGUAGE = "fra+eng";
PAPERLESS_OCR_MODE = "redo";
PAPERLESS_TIME_ZONE = "Europe/Paris";
};