might fix things
fixed up a few issues
This commit is contained in:
parent
dbbbd7a882
commit
9ad8c96558
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue