services/monitoring: enable nginx by default

Otherwise, building hosts that don't have any (nginx using) services
configured will faill.
This commit is contained in:
Moritz 'e1mo' Fromm 2023-08-12 10:59:40 +02:00
parent c80fafda16
commit 788fb22732
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -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;