Add Cloudflare API keys to hetznix server with

...agenix
This commit is contained in:
Oliver Davies 2024-12-26 00:13:42 +00:00
parent 50c8d8ae18
commit dcb3f90393
6 changed files with 46 additions and 2 deletions

View file

@ -1,10 +1,16 @@
{ config, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = "oliver@oliverdavies.uk";
defaults.environmentFile = config.age.secrets.cloudflare.path;
certs."oliverdavies.uk" = {
domain = "oliverdavies.uk";
dnsProvider = "cloudflare";
webroot = null;
extraDomainNames = [
# TODO Refactor to use a wildcard certificate.
"2020.oliverdavies.uk"