diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-03-28 19:16:41 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-03-28 19:16:41 +0200 |
commit | 6a15c8d6f7b339a542b0f8f25c12a2d6d1969715 (patch) | |
tree | 35398986b8201e94e56aa8056e1c10a9e1b13d01 /nixos/modules/services/mail | |
parent | 96d4f13fc52e4827b71808dc669baf0ad91dbaaa (diff) | |
download | nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.tar nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.tar.gz nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.tar.bz2 nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.tar.lz nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.tar.xz nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.tar.zst nixpkgs-6a15c8d6f7b339a542b0f8f25c12a2d6d1969715.zip |
nixos/dovecot: set group in config
The dovecot bump to 2.3.1 caused the dovecot service to fail to start because it would try to chgrp sockets to dovecot whereas our default dovecot group is called dovecot2.
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r-- | nixos/modules/services/mail/dovecot.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index b42c73b8666..543e732127a 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -30,6 +30,7 @@ let '' default_internal_user = ${cfg.user} + default_internal_group = ${cfg.group} ${optionalString (cfg.mailUser != null) "mail_uid = ${cfg.mailUser}"} ${optionalString (cfg.mailGroup != null) "mail_gid = ${cfg.mailGroup}"} |