From 58c4b4c5e50da069ccd2b69f3d6019725f0add7e Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 28 Jun 2024 08:55:56 +0200 Subject: [PATCH] allow ssh to server --- hosts/server/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 6614ebe..04f1c08 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -130,8 +130,8 @@ }; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ 22 ]; + networking.firewall.allowedUDPPorts = [ 22 ]; # Or disable the firewall altogether. # networking.firewall.enable = false;