summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/mail/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/mail/default.nix b/sys/mail/default.nix
index f692383..6eba9cd 100644
--- a/sys/mail/default.nix
+++ b/sys/mail/default.nix
@@ -25,6 +25,14 @@ in
};
config = mkIf cfg.enable {
+ # 25.05: The option definition `services.dovecot2.modules' in
+ # `/nix/store/d3mfmsa6klf9dizidvs9qgfv4bgxqgvz-source/sys/mail' no longer
+ # has any effect; please remove it. Now need to use
+ # `environment.systemPackages` to load additional Dovecot modules
+ environment.systemPackages = [
+ pkgs.dovecot_pigeonhole
+ ];
+
services = {
dovecot2 = {
enable = true;
@@ -34,8 +42,6 @@ in
sslServerKey = "${cert}/key.pem";
sslServerCert = "${cert}/fullchain.pem";
- modules = [ pkgs.dovecot_pigeonhole ];
-
mailUser = "vmail";
mailGroup = "vmail";
mailLocation = "maildir:~/mail";