nixos/services/nginx_vHosts/mail.nix

18 lines
234 B
Nix
Raw Permalink 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 {
serverName = config.mailserver.fqdn;
enableACME = true;
forceSSL = true;
}
else {};
}
.vHost