Making the dovecot2 mail location a nixos option.

svn path=/nixos/trunk/; revision=34421
This commit is contained in:
Lluís Batlle i Rossell 2012-06-10 15:07:25 +00:00
parent 9b833aafb9
commit 6824f1e082

View File

@ -25,7 +25,7 @@ let
+ ''
default_internal_user = ${cfg.user}
mail_location = maildir:/var/spool/mail/%u
mail_location = ${cfg.mailLocation}
maildir_copy_with_hardlinks = yes
@ -76,6 +76,14 @@ in
description = "Dovecot group name.";
};
mailLocation = mkOption {
default = "maildir:/var/spool/mail/%u"; /* Same as inbox, as postfix */
example = "maildir:~/mail:INBOX=/var/spool/mail/%u";
description = ''
Location that dovecot will use for mail folders. Dovecot mail_location option.
'';
};
sslServerCert = mkOption {
default = "";
description = "Server certificate";