NixOS-Config/modules/system/services/server/mailserver/roundcube/default.nix

13 lines
281 B
Nix

{ pkgs, config, ... }:
{
services.roundcube = {
enable = true;
hostName = "mail.${config.domains.jim1}";
extraConfig = ''
$config['smtp_server'] = "tls://mx.${config.domains.jim1}";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
};
}