open some firewall ports

This commit is contained in:
Frost-Phoenix 2023-12-25 14:52:43 +01:00
parent cc1b01b4dc
commit 60076eaea5

View file

@ -4,6 +4,15 @@
hostName = "nixos";
networkmanager.enable = true;
nameservers = [ "1.1.1.1" ];
firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 59010 59011 ];
allowedUDPPorts = [ 59010 59011 ];
# allowedUDPPortRanges = [
# { from = 4000; to = 4007; }
# { from = 8000; to = 8010; }
# ];
};
};
environment.systemPackages = with pkgs; [