From 556bd25ce309ae1607cad459d6a86cfbc780930d Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Thu, 7 Mar 2024 23:45:08 +0100 Subject: [PATCH] defiant: open loki port in the firewall --- hosts/defiant/services/metrics/loki.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/defiant/services/metrics/loki.nix b/hosts/defiant/services/metrics/loki.nix index 1ecf68d..1c4b283 100644 --- a/hosts/defiant/services/metrics/loki.nix +++ b/hosts/defiant/services/metrics/loki.nix @@ -71,4 +71,8 @@ in { }; }; }; + + networking.firewall.allowedTCPPorts = [ + cfg.configuration.server.http_listen_port + ]; }