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

13 lines
308 B
Nix
Raw Permalink Normal View History

{ pkgs, config, ... }:
2024-10-09 03:36:08 -04:00
{
services.roundcube = {
2024-11-13 09:43:47 -05:00
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";
'';
};
}