From 1675c5f193a9b86fd4054afc7f0ecea512c84c81 Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Thu, 22 May 2025 18:51:52 +0200 Subject: [PATCH] acme: fix acmeroot --- modules/services/acme/module.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/services/acme/module.nix b/modules/services/acme/module.nix index 667f7f0..d434f01 100644 --- a/modules/services/acme/module.nix +++ b/modules/services/acme/module.nix @@ -4,13 +4,11 @@ pkgs, ... }: let - acmeRoot = "/var/lib/acme/challenges"; - mkAcmeCert = domain: { # An acme system user is created. This user belongs to the acme group # and the home directory is /var/lib/acme. This user will try to make the directory # .well-known/acme-challenge/ under the webroot directory. - webroot = "${acmeRoot}-${domain}"; + webroot = "/var/lib/acme"; # email to send updates to, we prefix "acme" and the # name of the domain the certificate is for to it.