diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 20:42:31 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 20:42:31 +0200 |
commit | a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8 (patch) | |
tree | bdfefb26e2fe6b3a9257c70d183e334a1eee346a | |
parent | 8b4fd812f1534b44441269e5653e2b0f6dd05917 (diff) | |
download | nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar.gz nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar.bz2 nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.tar.xz nixos-a9bfe7aeea0bbdfcb9f2966b61acce829f84d7a8.zip |
Added prosody to "shadow" group
-rw-r--r-- | ymir.nix | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 | ]; |