git.iko.soy/typeable/nixpkgs
on master help sign in
dovecot: fix config if mailboxes == []
commit9181faac41fcf3221353a045bb903e8c1db0557e authorRobin Gloster <mail@glob.in> dateTue 14 Nov 2017, 16:49 (9 years ago) parent50103ec
1 file changed+2−2
nixos/modules/services/mail/dovecot.nix+2−2
nixos/modules/services/mail/dovecot.nix+2−2
@@ -62,14 +62,14 @@ let
6262 }
6363 '')
6464
65− ''
65+ (optionalString (cfg.mailboxes != []) ''
6666 protocol imap {
6767 namespace inbox {
6868 inbox=yes
6969 ${concatStringsSep "\n" (map mailboxConfig cfg.mailboxes)}
7070 }
7171 }
72− ''
72+ '')
7373
7474 (optionalString cfg.enableQuota ''
7575 mail_plugins = $mail_plugins quota