summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 9bd878f9..08a76daf 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -105,4 +105,15 @@ in {
105 }; 105 };
106 }; 106 };
107 }; 107 };
108 security.pam.services."xmpp".text = ''
109 auth required pam_warn.so
110 auth required pam_succeed_if.so user ingroup xmpp
111 auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay
112 auth requisite pam_deny.so
113 auth required pam_permit.so
114 '';
115 users.groups."xmpp" = {
116 members = [ "gkleen"
117 ];
118 };
108} 119}