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