mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-01 17:50:51 +02:00
Fixed paperless OCR langages
This commit is contained in:
parent
e6a52b60db
commit
1e24eb44ab
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue