From e58f7872ea9dafe383f0054efdca8535016e9541 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 30 Sep 2015 22:05:26 +0200 Subject: alias auth in prosody --- ymir.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ymir.nix') diff --git a/ymir.nix b/ymir.nix index 09a0a965..c663c4ce 100644 --- a/ymir.nix +++ b/ymir.nix @@ -3,6 +3,7 @@ let luaPam = pkgs.callPackage ./custom/luaPam.nix {}; luaPosix = pkgs.callPackage ./custom/luaPosix.nix {}; + luaSha2 = pkgs.callPackage ./custom/luaSha2.nix {}; prosodyAuth = pkgs.callPackage ./custom/prosody-auth.nix {}; in { imports = @@ -30,7 +31,7 @@ in { inherit (pkgs.lua51Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luazlib; lua5 = pkgs.lua5_1; extraModules = [prosodyAuth]; - extraLibs = [luaPam luaPosix]; + extraLibs = [luaPam luaPosix luaSha2]; }); }; @@ -103,6 +104,8 @@ in { ]; extraConfig = '' authentication="custom" + custom_alias_file="/etc/prosody/aliases" + custom_alias_secret_file="/etc/prosody/alias_secret" ''; virtualHosts."xmpp.li" = { -- cgit v1.2.3