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

13 lines
308 B
Nix

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