Compare commits

...

3 commits

Author SHA1 Message Date
90ed03a7ae update modpack
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 39s
2026-05-10 11:20:55 +07:00
3dc56278c9 zgc lag from pause fix 2026-05-10 10:50:02 +07:00
6e02ff9c9c remove datapacks 2026-05-10 10:49:39 +07:00

View file

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