services: paperless: switch from docker to nixos
This commit is contained in:
parent
ed7cacb3b4
commit
516cbd4ae7
5 changed files with 61 additions and 11 deletions
|
|
@ -17,6 +17,7 @@ with lib;
|
|||
gandiKey = lib.fileContents ./gandi-api-key.secret;
|
||||
|
||||
borg-backup = import ./borg-backup { inherit lib; };
|
||||
paperless = import ./paperless { inherit lib; };
|
||||
restic-backup = import ./restic-backup { inherit lib; };
|
||||
|
||||
matrixEmailConfig = import ./matrix-email-config.nix;
|
||||
|
|
|
|||
BIN
secrets/paperless/admin-password.secret
Normal file
BIN
secrets/paperless/admin-password.secret
Normal file
Binary file not shown.
5
secrets/paperless/default.nix
Normal file
5
secrets/paperless/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ lib }:
|
||||
{
|
||||
secretKey = lib.fileContents ./secret-key-file.secret;
|
||||
adminPassword = lib.fileContents ./admin-password.secret;
|
||||
}
|
||||
BIN
secrets/paperless/secret-key-file.secret
Normal file
BIN
secrets/paperless/secret-key-file.secret
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue