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

12 lines
284 B
Nix
Raw Normal View History

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