36 lines
1.4 KiB
Nix
36 lines
1.4 KiB
Nix
|
{ ... }:
|
||
|
{
|
||
|
deployment.keys."wireguard-valkyrie-wg0-privatekey.secret" = {
|
||
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "wireguard/valkyrie-wg0-privatekey" ];
|
||
|
destDir = "/secrets";
|
||
|
user = "root";
|
||
|
group = "root";
|
||
|
permissions = "0640";
|
||
|
uploadAt = "pre-activation";
|
||
|
};
|
||
|
deployment.keys."wireguard-valkyrie-site1-grzb-psk.secret" = {
|
||
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "wireguard/valkyrie-site1-grzb/psk" ];
|
||
|
destDir = "/secrets";
|
||
|
user = "root";
|
||
|
group = "root";
|
||
|
permissions = "0640";
|
||
|
uploadAt = "pre-activation";
|
||
|
};
|
||
|
deployment.keys."wireguard-valkyrie-site2-grzb-psk.secret" = {
|
||
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "wireguard/valkyrie-site2-grzb/psk" ];
|
||
|
destDir = "/secrets";
|
||
|
user = "root";
|
||
|
group = "root";
|
||
|
permissions = "0640";
|
||
|
uploadAt = "pre-activation";
|
||
|
};
|
||
|
deployment.keys."wireguard-valkyrie-site1-jsts-psk.secret" = {
|
||
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "wireguard/valkyrie-site1-jsts/psk" ];
|
||
|
destDir = "/secrets";
|
||
|
user = "root";
|
||
|
group = "root";
|
||
|
permissions = "0640";
|
||
|
uploadAt = "pre-activation";
|
||
|
};
|
||
|
}
|