2024-11-20 05:46:40 +01:00
|
|
|
{ keyCommandEnv, ... }:
|
2024-11-20 05:46:40 +01:00
|
|
|
{
|
|
|
|
deployment.keys."netbox-secret-key.secret" = {
|
2024-11-20 05:46:40 +01:00
|
|
|
keyCommand = keyCommandEnv ++ [ "pass" "netbox/secret-key" ];
|
2024-11-20 05:46:40 +01:00
|
|
|
destDir = "/secrets";
|
|
|
|
user = "netbox";
|
|
|
|
group = "netbox";
|
|
|
|
permissions = "0640";
|
|
|
|
uploadAt = "pre-activation";
|
|
|
|
};
|
|
|
|
}
|