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