From 777896a434d6d7ac603557546b2aa0525de62966 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 18 Nov 2021 16:13:28 +0100 Subject: add correct ssh port to firewall --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index 76de0d1..be424f8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -259,7 +259,7 @@ in # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ - 22 # SSH + (builtins.head ({ openssh.ports = [22]; } // node_config.services).openssh.ports) 3900 3901 # Garage (internal RPC traffic) 4646 4647 4648 # Nomad 8500 8300 8301 8302 # Consul -- cgit v1.2.3