optional takes a single, not a list
This commit is contained in:
parent
d98115d854
commit
fa75fc9031
|
@ -205,7 +205,7 @@ in {
|
||||||
in {
|
in {
|
||||||
acme.host-domains.${hostname} = mapAttrs (site: siteCfg:
|
acme.host-domains.${hostname} = mapAttrs (site: siteCfg:
|
||||||
mkIf siteCfg.enableACME {
|
mkIf siteCfg.enableACME {
|
||||||
extra-domains = optional (site != host-fqdn) [ host-fqdn ];
|
extra-domains = optional (site != host-fqdn) (trace host-fqdn host-fqdn);
|
||||||
local-copies.ejabberd = {
|
local-copies.ejabberd = {
|
||||||
user = cfg.user;
|
user = cfg.user;
|
||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
|
|
Loading…
Reference in New Issue