From 28dad93826327fe30b726bd28ddc5f6049c0cb0c Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 4 Mar 2023 22:47:11 +0100 Subject: [PATCH] open the nixos firewall for node-exporter --- misc/metrics-exporters.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/metrics-exporters.nix b/misc/metrics-exporters.nix index 3441f1ff..30189364 100644 --- a/misc/metrics-exporters.nix +++ b/misc/metrics-exporters.nix @@ -17,6 +17,9 @@ ]; }; + + networking.firewall.allowedTCPPorts = [ 9100 ]; + services.promtail = { enable = true; configuration = {