diff --git a/hosts/hetzner-arm/containers/minecraft/minecraft.nix b/hosts/hetzner-arm/containers/minecraft/minecraft.nix index ef880dd..714fef7 100644 --- a/hosts/hetzner-arm/containers/minecraft/minecraft.nix +++ b/hosts/hetzner-arm/containers/minecraft/minecraft.nix @@ -65,7 +65,7 @@ in { after = ["network.target" "minecraft-server.socket"]; serviceConfig = { - ExecStart = "${jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms2048M -jar forge-1.4.7-6.6.2.534-universal.jar nogui"; + ExecStart = "${pkgs.jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms2048M -jar forge-1.4.7-6.6.2.534-universal.jar nogui"; ExecStop = "${stopScript} $MAINPID"; Restart = "always"; User = "minecraft";