diff --git a/docs/setup-example.nix b/docs/setup-example.nix index 702b7e3..c2b4dd0 100644 --- a/docs/setup-example.nix +++ b/docs/setup-example.nix @@ -25,7 +25,10 @@ networking.firewall.allowedTCPPorts = [ 80 ]; # Enable ACME HTTP-01 challenge with nginx - services.nginx.virtualHosts.${config.mailserver.fqdn}.enableACME = true; + services.nginx = { + enable = true; + virtualHosts.${config.mailserver.fqdn}.enableACME = true; + }; mailserver = { enable = true;