nixos-config/modules/system/services/server/mailserver/roundcube/default.nix
2025-02-25 01:37:56 -05:00

12 lines
298 B
Nix

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