12 lines
187 B
Nix
12 lines
187 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
vHost = if config.mailserver.enable then {
|
||
|
serverName = config.mailserver.fqdn;
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
} else {};
|
||
|
}.vHost
|