2024-12-26 00:13:42 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
2024-11-29 00:06:54 +00:00
|
|
|
{
|
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
|
2025-01-01 14:45:03 +00:00
|
|
|
defaults = {
|
2024-12-26 00:13:42 +00:00
|
|
|
dnsProvider = "cloudflare";
|
2025-01-01 14:45:03 +00:00
|
|
|
email = "oliver@oliverdavies.uk";
|
|
|
|
environmentFile = config.age.secrets.cloudflare.path;
|
2024-12-26 00:13:42 +00:00
|
|
|
webroot = null;
|
2025-01-01 14:45:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
certs."oliverdavies.uk" = {
|
|
|
|
domain = "oliverdavies.uk";
|
2024-12-26 00:13:42 +00:00
|
|
|
|
2025-01-12 11:40:45 +00:00
|
|
|
extraDomainNames = [ "*.oliverdavies.uk" ];
|
2024-11-29 00:06:54 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|