diff --git a/nixos/hosts/osaka-linode-01/firewall.nix b/nixos/hosts/osaka-linode-01/firewall.nix index d5250737..ed120f30 100644 --- a/nixos/hosts/osaka-linode-01/firewall.nix +++ b/nixos/hosts/osaka-linode-01/firewall.nix @@ -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 = {