From 96f7deb590a375e435035745f6a0b6c5a37ce010 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 21 Dec 2023 23:34:45 +0100 Subject: [PATCH] Add some plugins for roundcube --- nixos/queen/mail-server.nix | 1 - nixos/queen/webmail.nix | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/nixos/queen/mail-server.nix b/nixos/queen/mail-server.nix index 57f643b..34f0798 100644 --- a/nixos/queen/mail-server.nix +++ b/nixos/queen/mail-server.nix @@ -6,7 +6,6 @@ pkgs, ... }: { - #The thing you want for multiple domains is SNI, I don't know how to set that up imports = [ (builtins.fetchTarball { # Pick a release version you are interested in and set its hash, e.g. diff --git a/nixos/queen/webmail.nix b/nixos/queen/webmail.nix index 613277c..9c371ab 100644 --- a/nixos/queen/webmail.nix +++ b/nixos/queen/webmail.nix @@ -4,8 +4,22 @@ lib, ... }: { + # TODO: Figure out how to create packages for some plugins for roundcube! + # https://packagist.org/search/?query=roundcube + # https://discourse.nixos.org/t/roundcube-with-plugins/28292/7 services.roundcube = { enable = true; + + package = pkgs.roundcube.withPlugins ( + plugins: [ + plugins.contextmenu + plugins.carddav + plugins.custom_from + plugins.persistent_login + plugins.thunderbird_labels + ] + ); + # this is the url of the vhost, not necessarily the same as the fqdn of # the mailserver hostName = "webmail.lillianviolet.dev";