From ef2c7ecf1c49ea3f27bdb241abbcb7e5fc83a059 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 5 Aug 2024 21:28:10 +0900 Subject: [PATCH] Updates --- nixos/hosts/osaka-linode-01/firewall.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 = {