dotfiles/nix/hosts/hetznix/security/acme.nix

21 lines
377 B
Nix

{ config, ... }:
{
security.acme = {
acceptTerms = true;
defaults = {
dnsProvider = "cloudflare";
email = "oliver@oliverdavies.uk";
environmentFile = config.age.secrets.cloudflare.path;
webroot = null;
};
certs."oliverdavies.uk" = {
domain = "oliverdavies.uk";
extraDomainNames = [ "*.oliverdavies.uk" ];
};
};
}