From 03707f1c0d9615d3c6385132af52de60c2fedfc0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 12 May 2023 14:53:59 -0700 Subject: profiles/monitoring: move loki to a profile Add a nginx virtualhost for loki too, so that we can use a valid SSL certificate. --- hosts/tahoe/default.nix | 1 + hosts/tahoe/services.nix | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'hosts') diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index a23c7c8..2cefdb7 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -19,6 +19,7 @@ in "${self}/profiles/hardware/amd.nix" "${self}/profiles/monitoring/exporter.nix" "${self}/profiles/monitoring/promtail.nix" + "${self}/profiles/monitoring/loki.nix" ]; # Use systemd-networkd for networking diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index a8b80b8..7e42a1f 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -12,10 +12,6 @@ in enable = true; listenAddress = "192.168.6.40"; }; - loki = { - enable = true; - listenAddress = "192.168.6.40"; - }; grafana = { enable = true; vhostName = "dash.${config.homelab.domain}"; -- cgit v1.2.3