From 0c85685729b3d1a50906aff705720ae81a550609 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 11 Jan 2024 18:28:58 +0300 Subject: [PATCH] Maybe fix ACME? --- flake.lock | 6 +++--- hosts/cube/acme.nix | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index c3c7791..f1cdcae 100644 --- a/flake.lock +++ b/flake.lock @@ -879,11 +879,11 @@ "tools": "tools" }, "locked": { - "lastModified": 1704985258, - "narHash": "sha256-fpeXqhHzKsoCfTaCSNxr+ZxddD4LBwAbGAc8/PbrXmg=", + "lastModified": 1704987079, + "narHash": "sha256-43cGAF3QP0NU7hKEbAERkMNNfWqPdIB+NibkAl/Ppcg=", "owner": "RGBCube", "repo": "Site", - "rev": "5d958027300049e40ee8bd18a48d9e49b0c1c8a5", + "rev": "e81527eea1a171a5362ffbc8b4f328480b459860", "type": "github" }, "original": { diff --git a/hosts/cube/acme.nix b/hosts/cube/acme.nix index 6ba438f..91b2654 100644 --- a/hosts/cube/acme.nix +++ b/hosts/cube/acme.nix @@ -5,13 +5,12 @@ serverSystemConfiguration { acceptTerms = true; defaults = { - credentialsFile = config.age.secrets.acme.path; + environmentFile = config.age.secrets.acme.path; dnsProvider = "cloudflare"; dnsResolver = "1.1.1.1"; email = "security@rgbcu.be"; - group = "nginx"; }; - certs."rgbcu.be".domain = "*.rgbcu.be"; + certs.${config.networking.domain}.domain = "*.${config.networking.domain}"; }; }