nixos/services/nginx_vHosts/mail.nix

12 lines
187 B
Nix
Raw Permalink Normal View History

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