nix/hosts/APPA/services/paperless.nix

18 lines
429 B
Nix

{ config, ... }:
{
age.secrets.passwords-paperless-admin = {
file = ../../../secrets/passwords/paperless/admin.age;
};
services.paperless = {
enable = true;
port = 8006;
passwordFile = config.age.secrets.passwords-paperless-admin.path;
settings = {
PAPERLESS_DBHOST = "/run/postgresql";
PAPERLESS_OCR_LANGUAGE = "deu+eng";
PAPERLESS_URL = "https://paperless.dryb.org";
};
};
}