dotfiles/system/nixos/acme-tanker.nix

37 lines
744 B
Nix
Raw Normal View History

2023-04-04 20:05:11 +00:00
{ config, ... }:
{
security.acme = {
acceptTerms = true;
defaults = {
email = "acme@kempkens.io";
group = "nginx";
dnsProvider = "cloudflare";
credentialsFile = config.age.secrets.acme-credentials.path;
dnsResolver = "1.1.1.1:53";
dnsPropagationCheck = true;
reloadServices = [ "nginx.service" ];
};
certs = {
"kempkens.io" = {
2023-10-21 18:43:00 +00:00
extraDomainNames = [ "*.kempkens.io" ];
};
"daniel.sx" = {
domain = "*.daniel.sx";
extraDomainNames = [ "*.cache.daniel.sx" ];
};
"nifoc.pw" = {
domain = "*.nifoc.pw";
2023-04-04 20:05:11 +00:00
};
"headscale.kempkens.network" = {
domain = "*.headscale.kempkens.network";
};
2023-04-04 20:05:11 +00:00
};
};
}