dotfiles/nix/hosts/nixedo/modules/acme.nix
Oliver Davies 07fde36fb0 Homelab updates
- Change domain to opdavies.uk as this works with HTTPS/SSL.
- Switch Nginx to Caddy.
2025-01-01 14:46:27 +00:00

20 lines
383 B
Nix

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