{ ... } : { # networking.firewall.enable = false; networking.firewall.allowedTCPPorts = [ 25565 ]; networking.firewall.allowedUDPPorts = [ 25565 ]; }