From 788fb22732e36310274a4eeebb1d9008a89e04e2 Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Sat, 12 Aug 2023 10:59:40 +0200 Subject: [PATCH] services/monitoring: enable nginx by default Otherwise, building hosts that don't have any (nginx using) services configured will faill. --- services/monitoring/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;