12 lines
333 B
Nix
12 lines
333 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
deployment.keys."netbox-secret-key.secret" = {
|
||
|
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "netbox/secret-key" ];
|
||
|
destDir = "/secrets";
|
||
|
user = "netbox";
|
||
|
group = "netbox";
|
||
|
permissions = "0640";
|
||
|
uploadAt = "pre-activation";
|
||
|
};
|
||
|
}
|