Re-enable paperless
on sisko
This commit is contained in:
parent
4ffc922419
commit
494542e1d2
2 changed files with 4 additions and 3 deletions
|
@ -29,6 +29,7 @@
|
||||||
"restic"
|
"restic"
|
||||||
"atuin"
|
"atuin"
|
||||||
"immich"
|
"immich"
|
||||||
|
"paperless"
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
passwordFile = builtins.toFile "paperless-initial-password" "paperless";
|
passwordFile = builtins.toFile "paperless-initial-password" "paperless";
|
||||||
mediaDir = "/mnt/hd/paperless/media";
|
mediaDir = "/mnt/hd/paperless/";
|
||||||
consumptionDir = "/mnt/hd/paperless/consume";
|
|
||||||
settings = {
|
settings = {
|
||||||
PAPERLESS_OCR_LANGUAGE = "ita+eng";
|
PAPERLESS_OCR_LANGUAGE = "ita+eng";
|
||||||
PAPERLESS_CONSUMER_IGNORE_PATTERN = builtins.toJSON [
|
PAPERLESS_CONSUMER_IGNORE_PATTERN = builtins.toJSON [
|
||||||
|
@ -15,11 +14,12 @@
|
||||||
PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
|
PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
|
||||||
optimize = 1;
|
optimize = 1;
|
||||||
pdfa_image_compression = "lossless";
|
pdfa_image_compression = "lossless";
|
||||||
|
invalidate_digital_signatures = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
backup.paths = [
|
environment.persistence."/persist".directories = [
|
||||||
config.services.paperless.dataDir
|
config.services.paperless.dataDir
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue