Compare commits

...

2 commits

Author SHA1 Message Date
sid
127369802c 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
Reviewed-on: #16
2026-04-03 16:45:19 +02:00
sid
6c9fd17e00 acme ownership for hetzner api key
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 17s
Flake check / flake-check (pull_request) Successful in 18s
2026-04-03 16:42:33 +02:00

View file

@ -51,8 +51,6 @@ in
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 = {
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}";
};
};
}