hetzner api key needs prefix
This commit is contained in:
parent
e74970f142
commit
04d03398bf
1 changed files with 2 additions and 1 deletions
|
|
@ -48,10 +48,11 @@ in
|
||||||
domain = "*.${constants.intranet}";
|
domain = "*.${constants.intranet}";
|
||||||
webroot = null;
|
webroot = null;
|
||||||
dnsProvider = "hetzner";
|
dnsProvider = "hetzner";
|
||||||
credentialsFile = config.sops.secrets.hetzner-dns-api-key.path;
|
credentialsFile = config.sops.templates.hetzner-dns-api-key.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
sops.secrets.hetzner-dns-api-key = { };
|
sops.secrets.hetzner-dns-api-key = { };
|
||||||
|
sops.templates.hetzner-dns-api-key.content = "HETZNER_API_TOKEN=${config.sops.placeholder.hetzner-dns-api-key}";
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue