acme: fix acmeroot

This commit is contained in:
Bloxx12 2025-05-22 18:51:52 +02:00
commit 1675c5f193
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -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.