summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-30 20:42:31 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-30 20:42:31 +0200
commita9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8 (patch)
treebdfefb26e2fe6b3a9257c70d183e334a1eee346a /ymir.nix
parent8b4fd812f1534b44441269e5653e2b0f6dd05917 (diff)
downloadnixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar
nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar.gz
nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar.bz2
nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar.xz
nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.zip
Added prosody to "shadow" group
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 50f27b16..8f72e345 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -105,7 +105,7 @@ in {
105 authentication="custom" 105 authentication="custom"
106 ''; 106 '';
107 107
108 virtualHosts.default = { 108 virtualHosts."xmpp.li" = {
109 enabled = true; 109 enabled = true;
110 domain = "xmpp.li"; 110 domain = "xmpp.li";
111 ssl = { 111 ssl = {
@@ -118,6 +118,10 @@ in {
118 auth requisite pam_succeed_if.so user ingroup xmpp 118 auth requisite pam_succeed_if.so user ingroup xmpp
119 auth required pam_unix.so audit 119 auth required pam_unix.so audit
120 ''; 120 '';
121 users.groups."shadow" = {
122 members = [ "prosody"
123 ];
124 };
121 users.groups."xmpp" = { 125 users.groups."xmpp" = {
122 members = [ "gkleen" 126 members = [ "gkleen"
123 ]; 127 ];