l lassul.us: decouple from cgit

This commit is contained in:
lassulus 2023-07-23 23:13:04 +02:00
parent 794590866b
commit ea5e8bc757

View File

@ -9,8 +9,6 @@ let
in { in {
imports = [ imports = [
./default.nix ./default.nix
../git.nix
./ref.ptkk.de
]; ];
security.acme = { security.acme = {
@ -68,21 +66,6 @@ in {
''; '';
}; };
security.acme.certs."cgit.lassul.us" = {
email = "lassulus@lassul.us";
webroot = "/var/lib/acme/acme-challenge";
group = "nginx";
};
services.nginx.virtualHosts.cgit = {
serverName = "cgit.lassul.us";
addSSL = true;
sslCertificate = "/var/lib/acme/cgit.lassul.us/fullchain.pem";
sslCertificateKey = "/var/lib/acme/cgit.lassul.us/key.pem";
locations."/.well-known/acme-challenge".extraConfig = ''
root /var/lib/acme/acme-challenge;
'';
};
} }