From 533bfc618e965d80ff4c7664e1da7aa9db8821dc Mon Sep 17 00:00:00 2001 From: isabel Date: Wed, 25 Oct 2023 23:28:45 +0100 Subject: [PATCH] chore(mailserver): add plugins --- .../types/server/services/mailserver/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/common/types/server/services/mailserver/default.nix b/modules/common/types/server/services/mailserver/default.nix index ee72059c9..e3509c12e 100644 --- a/modules/common/types/server/services/mailserver/default.nix +++ b/modules/common/types/server/services/mailserver/default.nix @@ -26,9 +26,25 @@ in { services = { roundcube = { enable = true; + + package = pkgs.roundcube.withPlugins ( + plugins: + with plugins; [ + persistent_login + # carddav + ] + ); + database.username = "roundcube"; maxAttachmentSize = 50; + dicts = with pkgs.aspellDicts; [en]; + + plugins = [ + # "carddav" + "persistent_login" + ]; + # this is the url of the vhost, not necessarily the same as the fqdn of the mailserver hostName = "webmail.${domain}"; extraConfig = ''