diff --git a/modules/system/homelab/mc.nix b/modules/system/homelab/mc.nix index d47f5db..03171a9 100644 --- a/modules/system/homelab/mc.nix +++ b/modules/system/homelab/mc.nix @@ -2,9 +2,9 @@ ram-allocation-mb = 12288; rcon-pass = "howdy"; modpack = let - commit = "a52f65c1234b9f2dbe1392c471cb32a0614c5073"; + commit = "ac9278758cf96b97fbb4f816aca0fb2f94ccf3a2"; in pkgs.fetchPackwizModpack { - packHash = "sha256-WplCmvuCmA8TNeRVBKMwkvizmYlBcU9PDugXXSKTBaA="; + packHash = ""; url = "https://git.satr14.my.id/satr14/server-modpack/raw/commit/${commit}/pack.toml"; }; @@ -51,6 +51,10 @@ in { "-XX:+UseCompactObjectHeaders" "-XX:ZAllocationSpikeTolerance=5" "-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M" + + # High MSPT due to ZGC pauses + "-XX:ZUncommitDelay=300" + "-XX:ZCollectionInterval=5" ]; in lib.concatStringsSep " " flags; # extraStartPost = let gamerules = { @@ -97,7 +101,6 @@ in { symlinks = { # "server-icon.png" = "${modpack}/server-icon.png"; - "world/datapacks" = "${modpack}/datapacks"; "mods" = "${modpack}/mods"; }; };