diff options
-rw-r--r-- | ymir.nix | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -226,12 +226,18 @@ in rec { | |||
226 | users.groups."ssl" = { | 226 | users.groups."ssl" = { |
227 | members = [ "ejabberd" | 227 | members = [ "ejabberd" |
228 | "nginx" | 228 | "nginx" |
229 | "postfix" | 229 | config.services.postfix.user |
230 | "murmur" | 230 | "murmur" |
231 | "infinoted" | 231 | "infinoted" |
232 | ]; | 232 | ]; |
233 | }; | 233 | }; |
234 | 234 | ||
235 | user.groups."rspamd" = { | ||
236 | members = [ config.services.rspamd.user | ||
237 | config.services.postfix.user | ||
238 | ]; | ||
239 | }; | ||
240 | |||
235 | services.journald = { | 241 | services.journald = { |
236 | rateLimitBurst = 0; | 242 | rateLimitBurst = 0; |
237 | extraConfig = '' | 243 | extraConfig = '' |
@@ -1036,7 +1042,7 @@ in rec { | |||
1036 | { mode = "0660"; | 1042 | { mode = "0660"; |
1037 | socket = "/run/rspamd/rspamd-milter.sock"; | 1043 | socket = "/run/rspamd/rspamd-milter.sock"; |
1038 | owner = config.services.rspamd.user; | 1044 | owner = config.services.rspamd.user; |
1039 | group = config.services.postfix.group; | 1045 | group = config.services.rspamd.group; |
1040 | } | 1046 | } |
1041 | ]; | 1047 | ]; |
1042 | extraConfig = '' | 1048 | extraConfig = '' |