2023-10-10 15:21:16 +02:00
|
|
|
{ keyCommandEnv, ... }:
|
2023-08-03 15:51:21 +02:00
|
|
|
{
|
2023-08-04 03:32:06 +02:00
|
|
|
deployment.keys = {
|
|
|
|
"nextcloud-adminpass.secret" = {
|
2023-10-10 15:21:16 +02:00
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "nextcloud/adminpass" ];
|
2023-08-04 03:32:06 +02:00
|
|
|
destDir = "/secrets";
|
|
|
|
user = "nextcloud";
|
|
|
|
group = "nextcloud";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
|
|
|
"nextcloud-secretfile.secret" = {
|
2023-10-10 15:21:16 +02:00
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "nextcloud/secretfile" ];
|
2023-08-04 03:32:06 +02:00
|
|
|
destDir = "/secrets";
|
|
|
|
user = "nextcloud";
|
|
|
|
group = "nextcloud";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
2023-08-03 15:51:21 +02:00
|
|
|
};
|
|
|
|
}
|