From 304505767fe2b977b577f77fea252595741283ee Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 27 Sep 2015 16:29:37 +0200 Subject: reinserted pam module conf --- ymir.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ymir.nix b/ymir.nix index 9bd878f9..08a76daf 100644 --- a/ymir.nix +++ b/ymir.nix @@ -105,4 +105,15 @@ in { }; }; }; + security.pam.services."xmpp".text = '' + auth required pam_warn.so + auth required pam_succeed_if.so user ingroup xmpp + auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay + auth requisite pam_deny.so + auth required pam_permit.so + ''; + users.groups."xmpp" = { + members = [ "gkleen" + ]; + }; } -- cgit v1.2.3