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

13 lines
294 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ pkgs, outputs, ... }:
{
services.roundcube = {
enable = true;
hostName = "mail.${outputs.secrets.jimDomain}";
extraConfig = ''
2024-10-09 03:36:08 -04:00
$config['smtp_server'] = "tls://mx.${outputs.secrets.jimDomain}";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
'';
};
}