diff --git a/spec/eientei/minecraft.nix b/spec/eientei/minecraft.nix index fc485da1..a9b88b9f 100644 --- a/spec/eientei/minecraft.nix +++ b/spec/eientei/minecraft.nix @@ -2,10 +2,15 @@ inherit (lib) mapAttrs' nameValuePair; servers = { - bungeecord = { - cmdline = "${pkgs.graalvmCEPackages.graalvm-ce}/bin/java -Xms2G -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -jar BungeeCord.jar"; - stop = "end"; - }; + #bungeecord = { + # cmdline = "${pkgs.graalvmCEPackages.graalvm-ce}/bin/java -Xms2G -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -jar waterfall-1.20-578.jar"; + # stop = "end"; + #}; + + #limbo = { + # cmdline = "${pkgs.graalvmCEPackages.graalvm-ce}/bin/java -Xms1G -Xmx1G -jar NanoLimbo-1.8-all.jar"; + # stop = "stop"; + #}; nfwc = { cmdline = "${pkgs.jdk}/bin/java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19.2-43.3.8/unix_args.txt"; @@ -54,6 +59,7 @@ in { wantedBy = [ "multi-user.target" ]; requires = [ "${prefix}${name}.socket" ]; after = [ "network.target" "${prefix}${name}.socket" ]; + path = [ pkgs.bash ]; serviceConfig = { ExecStart = cmdline;