diff --git a/services/monitoring/default.nix b/services/monitoring/default.nix index 23a9bf5..7dbd71f 100644 --- a/services/monitoring/default.nix +++ b/services/monitoring/default.nix @@ -97,7 +97,8 @@ in { }; }; - services.nginx.virtualHosts."${fqdn}" = let + services.nginx.enable = lib.mkDefault true; + services.nginx.virtualHosts."${fqdn}" = let monitoring_htpasswd = config.sops.secrets."monitoring.htpasswd".path; in { enableACME = true;