nixos: separate openssh firewall port

This commit is contained in:
2026-05-03 11:17:19 -04:00
committed by javalsai
parent 897096830c
commit 3c5e671d44
2 changed files with 3 additions and 7 deletions
+1 -7
View File
@@ -92,13 +92,7 @@ in
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
firewall = { firewall.enable = true;
enable = true;
allowedTCPPorts = [
22
];
};
}; };
virtualisation.podman.enable = true; virtualisation.podman.enable = true;
+2
View File
@@ -10,4 +10,6 @@
PermitRootLogin = "no"; PermitRootLogin = "no";
}; };
}; };
networking.firewall.allowedTCPPorts = [ 22 ];
} }