2023-10-10 15:21:16 +02:00
|
|
|
{ keyCommandEnv, ... }:
|
2023-08-05 04:47:14 +02:00
|
|
|
{
|
|
|
|
deployment.keys."netbox-secret-key.secret" = {
|
2023-10-10 15:21:16 +02:00
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "netbox/secret-key" ];
|
2023-08-05 04:47:14 +02:00
|
|
|
destDir = "/secrets";
|
|
|
|
user = "netbox";
|
|
|
|
group = "netbox";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
|
|
|
}
|