From 47e625ef14c5b69a464719621876c0e838d5547a Mon Sep 17 00:00:00 2001 From: kat witch Date: Sun, 29 Aug 2021 04:00:41 +0100 Subject: [PATCH] Wrong side to forward that port on --- config/modules/nixos/monitoring.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/modules/nixos/monitoring.nix b/config/modules/nixos/monitoring.nix index 57d9acb6..9b888cec 100644 --- a/config/modules/nixos/monitoring.nix +++ b/config/modules/nixos/monitoring.nix @@ -89,6 +89,8 @@ in }; }) (mkIf cfg.server.enable { + network.firewall.private.tcp.ports = [ 9002 ]; + kw.secrets = [ "grafana-admin-pass" ]; @@ -156,7 +158,7 @@ in }; }) (mkIf cfg.client.enable { - network.firewall.private.tcp.ports = [ 9002 19999 ]; + network.firewall.private.tcp.ports = [ 19999 ]; services.netdata.enable = true;