dotfiles/system/nixos/acme-argon.nix

24 lines
482 B
Nix
Raw Normal View History

2023-06-07 18:40:27 +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 = {
"internal.kempkens.network" = {
domain = "*.internal.kempkens.network";
};
};
};
}