diff --git a/sys/platforms/vps/srv/default.nix b/sys/platforms/vps/srv/default.nix index 65bffff..3216ccb 100644 --- a/sys/platforms/vps/srv/default.nix +++ b/sys/platforms/vps/srv/default.nix @@ -20,7 +20,7 @@ with lib; { # ./authentik.nix consumes too much RAM and serves no purpose for now ./paperless.nix ./trilium.nix - ./firefly.nix + # ./firefly.nix gnucash is better ./roundcube.nix ]; } diff --git a/sys/platforms/vps/srv/roundcube.nix b/sys/platforms/vps/srv/roundcube.nix index 0908a3b..db156bb 100644 --- a/sys/platforms/vps/srv/roundcube.nix +++ b/sys/platforms/vps/srv/roundcube.nix @@ -21,14 +21,20 @@ with lib; { hostName = "mail.posixlycorrect.com"; configureNginx = true; maxAttachmentSize = 2048; #MB + package = pkgs.roundcube.withPlugins (plugins: [ + #plugins.carddav + plugins.contextmenu + plugins.custom_from + plugins.persistent_login + ]); plugins = [ "archive" "attachment_reminder" - "carddav" + #"carddav" "contextmenu" "custom_from" "emoticons" - "enigma" + #"enigma" "hide_blockquote" "managesieve" "markasjunk" @@ -41,11 +47,16 @@ with lib; { "vcard_attachments" "zipdownload" ]; - dicts = with pkgs.aspellDicts; [ es en ]; + extraConfig = '' + $config['smtp_host'] = "ssl://smtp.fastmail.com:465"; + $config['smtp_user'] = "%u"; + $config['smtp_pass'] = "%p"; + $config['imap_host'] = "ssl://imap.fastmail.com:993"; + ''; }; }; }