secrets: move paperless secrets to agenix

This commit is contained in:
Antoine Martin 2022-03-11 18:55:56 +01:00
parent 8d75500055
commit 2c3032c642
10 changed files with 34 additions and 16 deletions

View file

@ -10,6 +10,5 @@ in {
};
config.my.secrets = {
paperless = import ./paperless { inherit lib; };
};
}

View file

@ -1,10 +0,0 @@
{ lib }:
let
inherit (lib)
fileContents
;
in
{
secretKey = fileContents ./secret-key-file.secret;
adminPassword = fileContents ./admin-password.secret;
}