cluster/services/certificates: init, add internal wildcard cert

This commit is contained in:
Max Headroom 2023-03-06 16:52:52 +01:00
parent 2348b8f0f3
commit b56e484bd6
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{
services.certificates = {
nodes = {
internal-wildcard = [ "checkmate" "VEGAS" ];
};
nixos = {
internal-wildcard = [
./internal-wildcard.nix
];
};
};
}

View file

@ -0,0 +1,14 @@
{ tools, ... }:
let
inherit (tools.meta) domain;
in
{
security.acme.certs."internal.${domain}" = {
domain = "*.internal.${domain}";
extraDomainNames = [ "*.internal.${domain}" ];
dnsProvider = "pdns";
group = "nginx";
};
}