diff --git a/modules/features/minecraft.nix b/modules/features/minecraft.nix index f6557b7..0aed97c 100644 --- a/modules/features/minecraft.nix +++ b/modules/features/minecraft.nix @@ -13,8 +13,8 @@ config = { - networking.firewall.allowedUDPPorts = [ 25565 ]; networking.firewall.allowedTCPPorts = [ 25565 ]; + networking.firewall.allowedUDPPorts = [ 25565 ]; virtualisation.oci-containers.containers.minecraft = { image = "itzg/minecraft-server:java21"; @@ -55,6 +55,8 @@ MEMORY = "8G"; + ALLOW_FLIGHT = "true"; + #ENABLE_WHITELIST = "false"; #WHITELIST = ""; };