Compare commits
3 commits
0b2ef091ee
...
90ed03a7ae
| Author | SHA1 | Date | |
|---|---|---|---|
| 90ed03a7ae | |||
| 3dc56278c9 | |||
| 6e02ff9c9c |
1 changed files with 6 additions and 3 deletions
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue