diff --git a/modules/system/homelab/mc.nix b/modules/system/homelab/mc.nix index 03171a9..d47f5db 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 = "ac9278758cf96b97fbb4f816aca0fb2f94ccf3a2"; + commit = "a52f65c1234b9f2dbe1392c471cb32a0614c5073"; in pkgs.fetchPackwizModpack { - packHash = ""; + packHash = "sha256-WplCmvuCmA8TNeRVBKMwkvizmYlBcU9PDugXXSKTBaA="; url = "https://git.satr14.my.id/satr14/server-modpack/raw/commit/${commit}/pack.toml"; }; @@ -51,10 +51,6 @@ 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 = { @@ -101,6 +97,7 @@ in { symlinks = { # "server-icon.png" = "${modpack}/server-icon.png"; + "world/datapacks" = "${modpack}/datapacks"; "mods" = "${modpack}/mods"; }; };