nixos/services/nginx_vHosts/mail.nix

19 lines
229 B
Nix
Raw Normal View History

2019-06-22 23:58:08 +02:00
{
2023-09-11 20:23:04 +02:00
config,
lib,
...
}:
with lib;
{
vHost =
if config.mailserver.enable then
{
2023-09-11 20:23:04 +02:00
serverName = config.mailserver.fqdn;
enableACME = true;
forceSSL = true;
}
else
{ };
}
.vHost