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:
parent
a05293a93c
commit
ddf4795824
@ -119,7 +119,7 @@ in
|
|||||||
before = [ "acme-finished-${cfg.useACMEHost}.target" ];
|
before = [ "acme-finished-${cfg.useACMEHost}.target" ];
|
||||||
after = [ "acme-${cfg.useACMEHost}.service" ];
|
after = [ "acme-${cfg.useACMEHost}.service" ];
|
||||||
# Block reloading if not all certs exist yet.
|
# 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 = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
TimeoutSec = 60;
|
TimeoutSec = 60;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user