From 60cd346db67a8566ab8465396ed4805d0bd51955 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 11 Jan 2024 18:50:28 +0300 Subject: [PATCH] Set the cert locally --- flake.lock | 6 +++--- hosts/cube/acme.nix | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 331bd86..8a4789e 100644 --- a/flake.lock +++ b/flake.lock @@ -879,11 +879,11 @@ "tools": "tools" }, "locked": { - "lastModified": 1704987612, - "narHash": "sha256-vQP2ql60y7lR/pcCmkG+ruT/OK4T0Gsx/A1B4sYz7NA=", + "lastModified": 1704988206, + "narHash": "sha256-fpeXqhHzKsoCfTaCSNxr+ZxddD4LBwAbGAc8/PbrXmg=", "owner": "RGBCube", "repo": "Site", - "rev": "3d2c3e760d95c0b1d4034c1a1b073432755c2d98", + "rev": "577ce599c6cdd584a64ffcd95be7be67cc45628e", "type": "github" }, "original": { diff --git a/hosts/cube/acme.nix b/hosts/cube/acme.nix index 91b2654..18e11bf 100644 --- a/hosts/cube/acme.nix +++ b/hosts/cube/acme.nix @@ -11,6 +11,9 @@ serverSystemConfiguration { email = "security@rgbcu.be"; }; - certs.${config.networking.domain}.domain = "*.${config.networking.domain}"; + certs.${config.networking.domain} = { + extraDomainNames = [ "*.${config.networking.domain}" ]; + group = "nginx"; + }; }; }