{ 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"; ''; }; }