nsd-acme fixes

- remove obsolete conditions (that's what After is for)
- irc.jakstys.lt is no longer staging
This commit is contained in:
Motiejus Jakštys 2023-08-22 14:30:08 +03:00
parent 2e1af09789
commit 833b2bd1cf

View File

@ -86,7 +86,7 @@
};
zones."irc.jakstys.lt" = {
accountKey = config.age.secrets.letsencrypt-account-key.path;
staging = true;
staging = false;
};
};
@ -240,7 +240,6 @@
caddy = let
acme = config.mj.services.nsd-acme.zones."grafana.jakstys.lt";
in {
unitConfig.ConditionPathExists = [acme.certFile acme.keyFile];
serviceConfig.LoadCredential = [
"grafana.jakstys.lt-cert.pem:${acme.certFile}"
"grafana.jakstys.lt-key.pem:${acme.keyFile}"
@ -252,7 +251,6 @@
soju = let
acme = config.mj.services.nsd-acme.zones."irc.jakstys.lt";
in {
unitConfig.ConditionPathExists = [acme.certFile acme.keyFile];
serviceConfig = {
RuntimeDirectory = "soju";
LoadCredential = [