diff options
-rw-r--r-- | ymir.nix | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 | } |