summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index c621c5ea..68e66cad 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -97,9 +97,14 @@ in {
97 }; 97 };
98 }; 98 };
99 security.pam.services."xmpp".text = '' 99 security.pam.services."xmpp".text = ''
100 auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay 100 auth required pam_warn.so
101 auth required pam_succeed_if.so user ingroup xmpp 101 auth required pam_succeed_if.so user ingroup xmpp
102 auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay
102 auth requisite pam_deny.so 103 auth requisite pam_deny.so
103 auth required pam_permit.so 104 auth required pam_permit.so
104 ''; 105 '';
106 users.group."xmpp" = {
107 members = [ "gkleen"
108 ];
109 };
105} 110}