might fix things

fixed up a few issues
This commit is contained in:
evanc 2023-07-24 19:02:19 +00:00 committed by Brendan Golden
parent dbbbd7a882
commit 9ad8c96558

View file

@ -131,13 +131,16 @@
"${cfg.sub}.${cfg.domain}" = {
forceSSL = true;
useACMEHost = "skynet";
enableACME = false;
serverName = "${cfg.sub}.${cfg.domain}";
};
};
#https://nixos-mailserver.readthedocs.io/en/latest/add-roundcube.html
users.groups.nginx = {};
services.roundcube = {
enable = true;
database.username = "roundcube";
# this is the url of the vhost, not necessarily the same as the fqdn of
# the mailserver
hostName = "${cfg.sub}.${cfg.domain}";
@ -148,7 +151,7 @@
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
}
};
# systemd.services.dovecot2.serviceConfig = {
# # restart it daily, override default values
# Restart = lib.mkForce "always";