{ pkgs, ... }: { networking.firewall = { enable = true; allowedUDPPorts = [ 34197 #factorio 4242 ]; allowedTCPPorts = [ 25565 # mc 4242 ]; }; }