From 25f79f137d6870af1a78379d196fb951589a67b7 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 20 Dec 2024 03:38:23 +0100 Subject: Allow access to VictoriaMetrics from tailnet Signed-off-by: Mel --- services/monitoring/wrapper.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/monitoring/wrapper.nix') diff --git a/services/monitoring/wrapper.nix b/services/monitoring/wrapper.nix index 416ae22..62c860b 100644 --- a/services/monitoring/wrapper.nix +++ b/services/monitoring/wrapper.nix @@ -1,6 +1,6 @@ # This wraps the monitoring service module to allow it to be # imported conditionally. -{ lib, pkgs, auxiliaryPkgs, config, ... }: +{ me, lib, pkgs, auxiliaryPkgs, config, ... }: let enabled = config.foundation.internal.monitoringService; @@ -11,5 +11,5 @@ in monitoringService = lib.mkEnableOption "monitoring service"; }; - config = lib.mkIf enabled (module { inherit lib pkgs auxiliaryPkgs; }); + config = lib.mkIf enabled (module { inherit me lib pkgs auxiliaryPkgs; }); } -- cgit 1.4.1