nix-config/hosts/nixedo/modules/acme.nix
Oliver Davies e6678ec729 Add specific SSL subdomains
Fixes this error:

> Websites prove their identity via certificates. LibreWolf does not
trust this site because it uses a certificate that is not valid for
nixedo.oliverdavies.uk. The certificate is only valid for the following
names: jellyfin.oliverdavies.uk, oliverdavies.uk, www.oliverdavies.uk
>
> Error code: SSL_ERROR_BAD_CERT_DOMAIN
2025-04-27 21:18:17 +01:00

24 lines
508 B
Nix

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