Improve NixOS default firewall declaration
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 ];
|
||||
networking = {
|
||||
nftables.enable = true;
|
||||
firewall.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user