20 lines
689 B
Nix
20 lines
689 B
Nix
{ ... }:
|
|
{
|
|
deployment.keys."paperless-admin-password.secret" = {
|
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "paperless/admin-password" ];
|
|
destDir = "/secrets";
|
|
user = "paperless";
|
|
group = "paperless";
|
|
permissions = "0640";
|
|
uploadAt = "pre-activation";
|
|
};
|
|
deployment.keys."paperless-samba-credentials.secret" = {
|
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "paperless/samba-credentials" ];
|
|
destDir = "/secrets";
|
|
user = "root";
|
|
group = "root";
|
|
permissions = "0640";
|
|
uploadAt = "pre-activation";
|
|
};
|
|
}
|