dotfiles/nix/hosts/hetznix/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

38 lines
1 KiB
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 = [
# TODO Refactor to use a wildcard certificate.
"2020.oliverdavies.uk"
"bootstrap-with-tailwind.oliverdavies.uk"
"florida-drupalcamp-tailwind-css.oliverdavies.uk"
"luke.oliverdavies.uk"
"phpsw-sculpin-demo.oliverdavies.uk"
"rebuilding-acquia.oliverdavies.uk"
"rebuilding-bartik.oliverdavies.uk"
"rebuilding-bristol-js.oliverdavies.uk"
"rebuilding-symfony.oliverdavies.uk"
"tailwindcss-demo.oliverdavies.uk"
"talking-drupal-tailwindcss.oliverdavies.uk"
"tome.oliverdavies.uk"
"wp-tailwind.oliverdavies.uk"
"www.oliverdavies.uk"
"zet.oliverdavies.uk"
];
};
};
}