Fix: add firewall

This commit is contained in:
DuN0z 2025-10-14 07:37:44 +02:00
parent 1731f5ea7d
commit 98cd87c47d

View file

@ -52,6 +52,7 @@ in {
networking = { networking = {
useNetworkd = true; useNetworkd = true;
firewall.allowedTCPPorts = [22 80 5900 5901 5902]; firewall.allowedTCPPorts = [22 80 5900 5901 5902];
firewall.enable = true ;
interfaces.eno1.useDHCP = false; interfaces.eno1.useDHCP = false;
interfaces.br0 = { interfaces.br0 = {
useDHCP = false; useDHCP = false;
@ -85,5 +86,7 @@ in {
networkConfig.Bridge = "br0"; networkConfig.Bridge = "br0";
}; };
}; };
system.stateVersion = "25.05"; # Did you read the comment? system.stateVersion = "25.05"; # Did you read the comment?
} }