nixbld: more email setup
This commit is contained in:
parent
5f7cb6113e
commit
7dc4866314
@ -860,8 +860,16 @@ in
|
||||
localDnsResolver = false; # conflicts with dnsmasq
|
||||
fqdn = "mail.m-labs.hk";
|
||||
domains = [ "m-labs.hk" ];
|
||||
loginAccounts = (import /etc/nixos/secret/email_accounts.nix);
|
||||
certificateScheme = 3;
|
||||
} // (import /etc/nixos/secret/email_settings.nix);
|
||||
services.roundcube = {
|
||||
enable = true;
|
||||
hostName = "mail.m-labs.hk";
|
||||
extraConfig = ''
|
||||
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
|
||||
$config['smtp_user'] = "%u";
|
||||
$config['smtp_pass'] = "%p";
|
||||
'';
|
||||
};
|
||||
|
||||
services.nextcloud = {
|
||||
|
Loading…
Reference in New Issue
Block a user