Improve NixOS default firewall declaration

This commit is contained in:
2025-11-10 21:46:08 +01:00
parent cf18dcdb67
commit 3c385724d0
2 changed files with 5 additions and 4 deletions

View File

@@ -7,8 +7,8 @@
enable = true;
};
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
networking = {
nftables.enable = true;
firewall.enable = true;
};
}