2023-10-10 15:21:16 +02:00
|
|
|
{ keyCommandEnv, ... }:
|
2023-09-25 01:35:11 +02:00
|
|
|
{
|
2023-10-10 15:21:16 +02:00
|
|
|
deployment.keys = {
|
|
|
|
"paperless-admin-password.secret" = {
|
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "paperless/admin-password" ];
|
|
|
|
destDir = "/secrets";
|
|
|
|
user = "paperless";
|
|
|
|
group = "paperless";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
|
|
|
"paperless-samba-credentials.secret" = {
|
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "paperless/samba-credentials" ];
|
|
|
|
destDir = "/secrets";
|
|
|
|
user = "root";
|
|
|
|
group = "root";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
2023-09-25 01:35:11 +02:00
|
|
|
};
|
|
|
|
}
|