mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-12-15 14:50:05 +05:30
feat(node): enable firewall for additional ports
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
inputs,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.nixosModules.default
|
||||
|
||||
@@ -28,7 +29,13 @@
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [22];
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
8545
|
||||
8546
|
||||
9545
|
||||
9546
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user