minecraft: Run with a non-headless java to include awt

Quark requires awt on the server side to draw some things.
This commit is contained in:
Tristan Daniël Maat 2020-08-16 21:24:27 +01:00
parent 92131a0ec0
commit 8e9b6169b1
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -82,7 +82,7 @@ in
tag = "latest"; tag = "latest";
config = { config = {
Entrypoint = [ "${entrypoint}" ]; Entrypoint = [ "${entrypoint}" ];
Cmd = [ "${pkgs.jre_headless}/bin/java" Cmd = [ "${pkgs.jre}/bin/java"
"-Xms2G" "-Xms2G"
"-Xmx2G" "-Xmx2G"
# Using recommended flags from https://mcflags.emc.gs # Using recommended flags from https://mcflags.emc.gs