From 4e947948e41b4fc55267f4fcef9be073a50d8985 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 30 Sep 2015 23:02:42 +0200 Subject: syntax --- ymir.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ymir.nix b/ymir.nix index 72f85ad5..228e0b85 100644 --- a/ymir.nix +++ b/ymir.nix @@ -116,8 +116,8 @@ in { custom_alias_secret_file="/etc/prosody/alias_secret" ''; - virtualHosts = builtins.listToAttrs (name: { inherit name; value = prosodyVirtHost name; }) - ["xmpp.li" "yggdrasil.li" "praseodym.org" "141.li"]; + virtualHosts = builtins.listToAttrs (map (name: { inherit name; value = prosodyVirtHost name; }) + ["xmpp.li" "yggdrasil.li" "praseodym.org" "141.li"]); }; security.pam.services."xmpp".text = '' auth requisite pam_succeed_if.so user ingroup xmpp -- cgit v1.2.3