NixOS-Config/modules/system/services/mailserver/roundcube/default.nix
2024-10-09 03:36:08 -04:00

13 lines
294 B
Nix

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