diff --git a/etc/nixos/services/minecraft.nix b/etc/nixos/services/minecraft.nix index b2ddf87..2879335 100644 --- a/etc/nixos/services/minecraft.nix +++ b/etc/nixos/services/minecraft.nix @@ -82,7 +82,7 @@ in tag = "latest"; config = { Entrypoint = [ "${entrypoint}" ]; - Cmd = [ "${pkgs.jre_headless}/bin/java" + Cmd = [ "${pkgs.jre}/bin/java" "-Xms2G" "-Xmx2G" # Using recommended flags from https://mcflags.emc.gs