Add paperless

This commit is contained in:
Jan Kremer 2026-02-20 11:26:24 +01:00
parent 32d185cd88
commit 393b0f08f4
No known key found for this signature in database
4 changed files with 26 additions and 0 deletions

View file

@ -5,6 +5,7 @@
./immich.nix
./jellyfin.nix
# ./minecraft.nix
./paperless.nix
./samba.nix
./tailscale.nix
];

View file

@ -0,0 +1,16 @@
{ config, ... }:
{
age.secrets.paperless-admin.file = ../secrets/paperless-admin.age;
services.paperless = {
enable = true;
passwordFile = config.age.secrets.paperless-admin.path;
consumptionDirIsPublic = true;
dataDir = "/mnt/paperless";
# port = 28981;
settings = {
PAPERLESS_OCR_LANGUAGE = "deu+eng";
};
};
}