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"
|
||||
"atuin"
|
||||
"immich"
|
||||
"paperless"
|
||||
]
|
||||
++ [
|
||||
./disko.nix
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
enable = true;
|
||||
address = "0.0.0.0";
|
||||
passwordFile = builtins.toFile "paperless-initial-password" "paperless";
|
||||
mediaDir = "/mnt/hd/paperless/media";
|
||||
consumptionDir = "/mnt/hd/paperless/consume";
|
||||
mediaDir = "/mnt/hd/paperless/";
|
||||
settings = {
|
||||
PAPERLESS_OCR_LANGUAGE = "ita+eng";
|
||||
PAPERLESS_CONSUMER_IGNORE_PATTERN = builtins.toJSON [
|
||||
|
@ -15,11 +14,12 @@
|
|||
PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
|
||||
optimize = 1;
|
||||
pdfa_image_compression = "lossless";
|
||||
invalidate_digital_signatures = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
backup.paths = [
|
||||
environment.persistence."/persist".directories = [
|
||||
config.services.paperless.dataDir
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue