nixos/pomerium: fix useACMEHost

useACMEHost doesn't work properly, because I forgot to actually define
the variable that is being relied upon here. Oops.
This commit is contained in:
Luke Granger-Brown 2021-04-07 01:26:44 +00:00
parent a05293a93c
commit ddf4795824

View file

@ -119,7 +119,7 @@ in
before = [ "acme-finished-${cfg.useACMEHost}.target" ];
after = [ "acme-${cfg.useACMEHost}.service" ];
# Block reloading if not all certs exist yet.
unitConfig.ConditionPathExists = [ "${certs.${cfg.useACMEHost}.directory}/fullchain.pem" ];
unitConfig.ConditionPathExists = [ "${config.security.acme.certs.${cfg.useACMEHost}.directory}/fullchain.pem" ];
serviceConfig = {
Type = "oneshot";
TimeoutSec = 60;