From ba62dcd6a628b106cd7e1b85473fd5aeac630636 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 8 Dec 2024 16:45:18 +0100 Subject: [PATCH] fix(storage01): Make prometheus work again By only looking at nixos nodes --- machines/nixos/storage01/prometheus.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/nixos/storage01/prometheus.nix b/machines/nixos/storage01/prometheus.nix index e0b35ba..455ab3e 100644 --- a/machines/nixos/storage01/prometheus.nix +++ b/machines/nixos/storage01/prometheus.nix @@ -1,5 +1,6 @@ { config, + meta, nodes, lib, ... @@ -19,7 +20,7 @@ let host = node; }; } - ) nodes + ) (lib.filterAttrs (name: _: meta.nodes.${name}.nixpkgs.system == "nixos") nodes) ); in