emacs flake
This commit is contained in:
parent
2f749ac51c
commit
7c78aecb78
3 changed files with 325 additions and 8 deletions
|
|
@ -13,7 +13,7 @@ in
|
|||
default = "paperless";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.paperless = {
|
||||
services.paperless-override = {
|
||||
enable = true;
|
||||
mediaDir = mkDefault "/data/documents/paperless";
|
||||
consumptionDir = "/data/applications/paperless-consumption";
|
||||
|
|
@ -21,6 +21,7 @@ in
|
|||
passwordFile = "${config.age.secrets.paperlessAdminPW.path}";
|
||||
extraConfig = {
|
||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
PAPERLESS_TIME_ZONE = config.time.timeZone;
|
||||
};
|
||||
};
|
||||
ragon.agenix.secrets.paperlessAdminPW = { group = "${config.services.paperless.user}"; mode = "0440"; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue