2023-10-10 15:21:16 +02:00
|
|
|
{ keyCommandEnv, ... }:
|
2023-09-14 14:43:49 +02:00
|
|
|
{
|
2023-10-10 15:21:16 +02:00
|
|
|
deployment.keys = {
|
|
|
|
"wireguard-lifeline-wg0-privatekey.secret" = {
|
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "wireguard/lifeline-wg0-privatekey" ];
|
|
|
|
destDir = "/secrets";
|
|
|
|
user = "root";
|
|
|
|
group = "root";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
|
|
|
"wireguard-lifeline-mail-2-lifeline-psk.secret" = {
|
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "wireguard/lifeline-mail-2/psk" ];
|
|
|
|
destDir = "/secrets";
|
|
|
|
user = "root";
|
|
|
|
group = "root";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
2023-09-14 14:43:49 +02:00
|
|
|
};
|
|
|
|
}
|