Merge pull request 'acme ownership for hetzner api key' (#16) from develop into master
All checks were successful
Deploy configs / deploy-configs (push) Successful in 21s
All checks were successful
Deploy configs / deploy-configs (push) Successful in 21s
Reviewed-on: #16
This commit is contained in:
commit
127369802c
1 changed files with 14 additions and 2 deletions
|
|
@ -51,8 +51,6 @@ in
|
||||||
credentialsFile = config.sops.templates.hetzner-dns-api-key.path;
|
credentialsFile = config.sops.templates.hetzner-dns-api-key.path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
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;
|
||||||
|
|
@ -114,4 +112,18 @@ in
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sops =
|
||||||
|
let
|
||||||
|
owner = "acme";
|
||||||
|
group = "acme";
|
||||||
|
mode = "0400";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
secrets.hetzner-dns-api-key = { inherit owner group mode; };
|
||||||
|
templates.hetzner-dns-api-key = {
|
||||||
|
inherit owner group mode;
|
||||||
|
content = "HETZNER_API_TOKEN=${config.sops.placeholder.hetzner-dns-api-key}";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue