Fixed acme, now correctly using cloudflare for certs

This commit is contained in:
Chris Toph 2024-09-07 17:40:30 -04:00
parent 22ded466b3
commit dd8c7976e8
2 changed files with 14 additions and 6 deletions

View file

@ -0,0 +1 @@
CF_DNS_API_TOKEN=

View file

@ -1,10 +1,17 @@
{
# TODO: find out how to add the certs from my nginx doxker since this jurs errors always
{ config, lib, pkgs, ... }: {
# letsencrypt this wont do shit but allows things to work
# i take care of this on dockge lxc
# letsencrypt
security.acme = {
acceptTerms = true;
defaults.email = "chris@toph.cc";
defaults = {
email = "chris@toph.cc";
dnsProvider = "cloudflare";
environmentFile = ./cloudflare.ini;
};
certs = {
"ryot.foo" = {
extraDomainNames = ["*.ryot.foo"];
};
};
};
}