From 24df400b49f01122e3416c8c4ce528d5b6403c93 Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Thu, 13 Mar 2025 14:18:09 -0500 Subject: [PATCH] fix: stop using non-existent `services.dovecot2.modules` option This option was removed in . --- mail-server/dovecot.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index e0efaff..c4e4550 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -153,12 +153,12 @@ in } ]; - # for sieve-test. Shelling it in on demand usually doesnt' work, as it reads + # For sieve-test. Shelling it in on demand usually doesn't work, as it reads # the global config and tries to open shared libraries configured in there, # which are usually not compatible. environment.systemPackages = [ pkgs.dovecot_pigeonhole - ]; + ] ++ (lib.optional cfg.fullTextSearch.enable pkgs.dovecot_fts_xapian ); services.dovecot2 = { enable = true; @@ -172,7 +172,6 @@ in sslServerCert = certificatePath; sslServerKey = keyPath; enableLmtp = true; - modules = [ pkgs.dovecot_pigeonhole ] ++ (lib.optional cfg.fullTextSearch.enable pkgs.dovecot_fts_xapian ); mailPlugins.globally.enable = lib.optionals cfg.fullTextSearch.enable [ "fts" "fts_xapian" ]; protocols = lib.optional cfg.enableManageSieve "sieve";