reNixos/kyra/networking/firewall/ens3.nix
s0me1newithhand7s 91d145fc9b s0mev1rtn0de-nix -> kyra + {hazel, lynn, ivy, mel}: rename + modularity
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-02-08 22:53:20 +03:00

57 lines
943 B
Nix

{
config,
lib,
...
}: {
networking = {
firewall = {
interfaces = {
ens3 = {
allowedUDPPorts =
[
53580
53590
]
++ lib.optionals (config.networking.hostName == "hazel") [
443
25565
24
25
110
143
465
587
993
995
4190
53570
];
allowedTCPPorts =
[
53580
53590
]
++ lib.optionals (config.networking.hostName == "hazel") [
443
25565
24
25
110
143
465
587
993
995
4190
53570
];
};
};
};
};
}