prep roundcube, from ktiu.net, nvim stuff
This commit is contained in:
parent
d4474ef5ce
commit
40539ae163
5 changed files with 56 additions and 14 deletions
|
|
@ -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
|
||||
# ];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue