Add paperless
This commit is contained in:
parent
32d185cd88
commit
393b0f08f4
4 changed files with 26 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
./immich.nix
|
||||
./jellyfin.nix
|
||||
# ./minecraft.nix
|
||||
./paperless.nix
|
||||
./samba.nix
|
||||
./tailscale.nix
|
||||
];
|
||||
|
|
|
|||
16
modules/nixos/paperless.nix
Normal file
16
modules/nixos/paperless.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue