update hash and add back args
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 30s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 30s
This commit is contained in:
parent
11b2c7315a
commit
f191ba4521
1 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
commit = "e47a428b61fc087f4c733258e5a282c21b32d9c3";
|
commit = "e47a428b61fc087f4c733258e5a282c21b32d9c3";
|
||||||
path = if production then "commit/${commit}" else "branch/main";
|
path = if production then "commit/${commit}" else "branch/main";
|
||||||
in pkgs.fetchPackwizModpack {
|
in pkgs.fetchPackwizModpack {
|
||||||
packHash = "";
|
packHash = "sha256-/gQw/FeNv/jbschhFzujloO9jaqTmfvBbzouWUJGr6w=";
|
||||||
url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml";
|
url = "https://git.satr14.my.id/satr14/server-modpack/raw/${path}/pack.toml";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
@ -143,6 +143,8 @@ in {
|
||||||
"-XX:+PerfDisableSharedMem" # Disables constant /tmp writes for JVM metrics
|
"-XX:+PerfDisableSharedMem" # Disables constant /tmp writes for JVM metrics
|
||||||
"-XX:ZAllocationSpikeTolerance=5" # Helps when server is active with many players
|
"-XX:ZAllocationSpikeTolerance=5" # Helps when server is active with many players
|
||||||
"-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M" # Leave 2GB headroom
|
"-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M" # Leave 2GB headroom
|
||||||
|
"-XX:ZCollectionInterval=1" # Force a GC cycle at minimum every second
|
||||||
|
"-XX:ConcGCThreads=8" # Threads ZGC uses for concurrent work
|
||||||
]; in lib.concatStringsSep " " flags;
|
]; in lib.concatStringsSep " " flags;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue