host(kita): finalize roundcube config

Changed files
+22
systems
kita
services
+22
systems/kita/services/mail/roundcube.nix
···
package = pkgs.roundcube.withPlugins (plugins: with plugins; [carddav contextmenu]);
dicts = with pkgs.aspellDicts; [en];
hostName = "webmail.soopy.moe";
+
+
extraConfig = ''
+
// ssl means implicit tls, NOT ssl. see roundcube docs for details.
+
$config['imap_host'] = [
+
'tls://mail.soopy.moe:143' => '(Deprecated) mail.soopy.moe',
+
'ssl://mx2.soopy.moe:993' => 'Gensokyo Mail Exchange',
+
];
+
// TODO: setup smtp and add related stuff here
+
$config['product_name'] = 'GensoNet Webmail';
+
$config['support_url'] = 'https://soopy.moe';
+
$config['prefer_html'] = false;
+
$config['plugins'] = [
+
'archive',
+
'emoticons',
+
'filesystem_attachments',
+
'hide_blockquote',
+
'identicon',
+
'newmail_notifier',
+
'reconnect',
+
'carddav',
+
];
+
'';
};
services.nginx.virtualHosts."webmail.soopy.moe" = _utils.mkVhost {