From fa75fc90317863a63ad5f62c07d0a2d4fd5ac6f3 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 13 Dec 2021 09:12:06 -0800 Subject: [PATCH] optional takes a single, not a list --- lib/fudo/jabber.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fudo/jabber.nix b/lib/fudo/jabber.nix index 50e4c64..36ba3d3 100644 --- a/lib/fudo/jabber.nix +++ b/lib/fudo/jabber.nix @@ -205,7 +205,7 @@ in { in { acme.host-domains.${hostname} = mapAttrs (site: siteCfg: 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 = { user = cfg.user; group = cfg.group;