minecraft refactors woo woo

This commit is contained in:
Jill 2023-12-18 06:56:27 +01:00
parent d5285d9249
commit 0894041f4e
3 changed files with 3 additions and 7 deletions

View File

@ -1 +0,0 @@
memory: "-Xms${memory} -Xmx${memory} -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1"

View File

@ -93,7 +93,7 @@ in {
"modfest-build" = let
modpack = (pkgs.fetchPackwizModpack rec {
url = "https://raw.githubusercontent.com/ModFest/modfest-skyandsea/main/pack/pack.toml";
packHash = "sha256-I+Pqs3q4lI7Qzuot/9RejZhDgaltBxqMfwWsNfLkEVQ=";
packHash = "sha256:7c9nTOZ8ZFQIvgZPWiRvF1N1nP0E6zTAZbPllRAaFTs=";
manifestHash = "sha256:0w4b3y95s0jqhjfbzagbilw6fv6zlgzbqnl15kmsgcgb7kxzrzyy";
});
@ -102,7 +102,7 @@ in {
in {
enable = true;
package = pkgs.fabricServers.${serverVersion};
jvmOpts = (import ./aikar-flags.nix) "4G";
jvmOpts = (import ./mc-flags.nix) "4G";
openFirewall = true;
@ -118,10 +118,6 @@ in {
snooper-enabled = false;
spawn-protection = 0;
};
whitelist = {
oatmealine = "241d7103-4c9d-4c45-9464-83b5365ce48e";
};
symlinks = {
"mods" = "${modpack}/mods";

View File

@ -0,0 +1 @@
memory: "-Xms${memory} -Xmx${memory} -XX:+UseShenandoahGC"