Setup paperless
This commit is contained in:
parent
c649f0f3c2
commit
4b1ca22b9f
3 changed files with 12 additions and 0 deletions
|
@ -92,6 +92,17 @@ in
|
|||
|
||||
services.avahi.enable = true;
|
||||
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
passwordFile = config.age.secrets.paperless.path;
|
||||
};
|
||||
|
||||
age.secrets.paperless = {
|
||||
file = "${config.dadada.secrets.path}/paperless.age";
|
||||
mode = "700";
|
||||
owner = "paperless";
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing = {
|
||||
enable = true;
|
||||
|
|
BIN
secrets/paperless.age
Normal file
BIN
secrets/paperless.age
Normal file
Binary file not shown.
|
@ -19,6 +19,7 @@ in
|
|||
"hydra-github-authorization.age".publicKeys = [ systems.pruflas dadada ];
|
||||
"miniflux-admin-credentials.age".publicKeys = [ systems.surgat dadada ];
|
||||
"gorgon-backup-passphrase-gs.age".publicKeys = [ systems.gorgon dadada ];
|
||||
"paperless.age".publicKeys = [ systems.gorgon dadada ];
|
||||
"surgat-ssh_host_ed25519_key.age".publicKeys = [ systems.surgat dadada ];
|
||||
} //
|
||||
backupSecrets "gorgon" //
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue