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";
|
||||
};
|
||||
};
|
||||
}
|
||||
8
modules/secrets/paperless-admin.age
Normal file
8
modules/secrets/paperless-admin.age
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 2otpcg GyPxcB3gWYPbM9fYYHj6RpxRd2xPdEaVvSzA9YDG3SA
|
||||
YxWkWHddFNVORq/t8ZITPXoe0xdMrzIfMObZuQk4arI
|
||||
-> ssh-ed25519 40YjXQ ULSs0h71Dc/Lnjlxpde0b6WE35rqjDE25tpqeomJwSs
|
||||
dZblDf3QNumI6J3YIDR3/fpCzvwWGY4DfVKysYo9zZE
|
||||
--- 6qJ87GFgPpqhA7j9EZtO3A3smAuUC+ltIk8ZMicQ+pQ
|
||||
£óRÓüè¤:(?þ¡½K«¿Å0à<30>xA¾C©>úFŽOÁ\
|
||||
Íèºà(ÿí,س–÷4Ú8†]
|
||||
|
|
@ -9,5 +9,6 @@ in
|
|||
{
|
||||
"copyparty-jan.age".publicKeys = all;
|
||||
"forgejo-runner-token.age".publicKeys = all;
|
||||
"paperless-admin.age".publicKeys = all;
|
||||
"tailscale.age".publicKeys = all;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue