Update sp-modules/simple-nixos-mailserver/config.nix

def 2024-04-24 02:08:27 +03:00
parent c08165e82c
commit fcf9b2da2d
1 changed files with 11 additions and 3 deletions

View File

@ -59,9 +59,17 @@ lib.mkIf sp.modules.simple-nixos-mailserver.enable {
};
services.roundcube = {
enable = true;
hostName = "mail.bloodwine.cyou";
};
enable = true;
# this is the url of the vhost, not necessarily the same as the fqdn of
# the mailserver
hostName = "cube.bloodwine.cyou";
# extraConfig = ''
# starttls needed for authentication, so the fqdn required to match
# the certificate
# $config['smtp_server'] = "tls://${config.mailserver.fqdn}";
# $config['smtp_user'] = "%u";
# $config['smtp_pass'] = "%p";
# '';
services.nginx = {
enable = true;