Fixed paperless OCR langages

This commit is contained in:
Julien Malka 2022-02-26 23:48:07 +01:00
parent cabb0d33ba
commit 8e7f82334d

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";
};