tadpole: Add certs module

This commit is contained in:
Alexander Heldt
2024-08-30 20:47:33 +02:00
parent a1c93b2165
commit 4567ba0614
2 changed files with 12 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
{ ... }:
{
security.acme = {
certs = {
"ppp.pm" = {
webroot = "/var/lib/acme/acme-challenge/";
email = "p@ppp.pm";
group = "nginx";
};
};
};
}

View File

@@ -14,16 +14,6 @@ in
};
config = lib.mkIf (enabled && nginxEnabled) {
security.acme = {
certs = {
"ppp.pm" = {
webroot = "/var/lib/acme/acme-challenge/";
email = "p@ppp.pm";
group = "nginx";
};
};
};
services.pppdotpm-site = {
enable = true;
domain = "ppp.pm";