fixes for tf and mail

This commit is contained in:
Kat Inskip 2025-12-04 02:44:38 -08:00
parent cf9ec64e69
commit 4c6f2aa34a
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
9 changed files with 145 additions and 35 deletions

View file

@ -28,4 +28,21 @@
};
security.acme.acceptTerms = true;
security.acme.defaults.email = "security@inskip.me";
services.roundcube = {
enable = true;
# this is the url of the vhost, not necessarily the same as the fqdn of
# the mailserver
hostName = "webmail.dork.dev";
extraConfig = ''
$config['imap_host'] = "ssl://${config.mailserver.fqdn}";
$config['smtp_host'] = "ssl://${config.mailserver.fqdn}";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
};
services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [80 443];
}