This commit is contained in:
albert 2024-08-05 21:28:10 +09:00
parent 0ea6dbbee8
commit ef2c7ecf1c
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -53,18 +53,19 @@
sops.secrets."cloudflare/api_key" = {
owner = "haproxy";
sopsFile = ../../../secrets/cloufdlare.yaml;
sopsFile = ../../../secrets/cloudflare.yaml;
};
security.acme = {
enable = true;
acceptTerms = true;
defaults = {
keyType = "pem";
group = "haproxy";
reloadServices = [ "haproxy" ];
email = "albert@sysctl.io";
credentialFiles = {
CF_Token = "/var/run/secrets/cloudflare/api_key"
dnsProvider = "cloudflare";
credentialFiles = {
CLOUDFLARE_API_KEY_FILE = "/var/run/secrets/cloudflare/api_key";
};
};
certs = {