From 0ef913eb1f9d36e1a52de17b08e5295cc478d5a0 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 12 Sep 2024 14:37:12 +0700 Subject: [PATCH] fix: cannot build because alloy is not enabled --- system/podman/metrics.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/podman/metrics.nix b/system/podman/metrics.nix index c154d44..1afc9a3 100644 --- a/system/podman/metrics.nix +++ b/system/podman/metrics.nix @@ -23,10 +23,8 @@ in labels = { "io.containers.autoupdate" = "registry"; }; - - }; - environment.etc."alloy/config.alloy".text = lib.mkIf config.services.alloy.enable /*hcl*/ '' + environment.etc."alloy/config.alloy".text = /*hcl*/ '' prometheus.scrape "podman" { targets = [{__address__ = "${ip}:9882"}]