s0mev1rtn0de-nix -> kyra + {hazel, lynn, ivy, mel}: rename + modularity
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
c1445349f0
commit
91d145fc9b
50 changed files with 377 additions and 278 deletions
57
kyra/networking/firewall/ens3.nix
Normal file
57
kyra/networking/firewall/ens3.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue