prep roundcube, from ktiu.net, nvim stuff

This commit is contained in:
Till 2026-02-05 00:25:04 +01:00
parent d4474ef5ce
commit 40539ae163
5 changed files with 56 additions and 14 deletions

View file

@ -1,9 +1,15 @@
{ config, pkgs, ... }:
{ config, lib, ... }:
let
webmailHostName = "webmail.${config.networking.domain}";
in
{
services.roundcube = {
enable = true;
hostName = "webmail.ktiu.net";
hostName = webmailHostName;
extraConfig = ''
$config['smtp_host'] = 'tls://%h';
$config['smtp_conn_options'] = [
@ -14,4 +20,15 @@
];
'';
};
# not sure why this is currently working w/o the following
#
# services.nginx.virtualHosts."${webmailHostName}" = {
# enableACME = lib.mkForce false;
# useACMEHost = config.networking.domain;
# };
# security.acme.certs."${config.networking.domain}".extraDomainNames = [
# webmailHostName
# ];
}