more minecraft stuff

This commit is contained in:
Gerg-L 2024-08-17 22:51:52 -04:00
parent 82dc3b5b7f
commit 3b5678a9ca
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
3 changed files with 22 additions and 21 deletions

View file

@ -1,7 +1,7 @@
_: { _: {
disk = { disk = {
main = { main = {
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_51056934"; device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_51091227";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";

View file

@ -64,9 +64,9 @@
loader = { loader = {
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
efiSysMountPoint = "/boot"; # ← use the same mount point here. efiSysMountPoint = "/boot";
}; };
grub = { systemd-boot = {
enable = true; enable = true;
configurationLimit = 10; configurationLimit = 10;
}; };

View file

@ -21,27 +21,28 @@
after = [ "network.target" ]; after = [ "network.target" ];
script = '' script = ''
${lib.getExe self'.packages.fabric} \ ${lib.getExe self'.packages.fabric} \
-Xms6G \ -Xms10G \
-Xmx6G \ -Xmx10G \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:MaxGCPauseMillis=200 \
-XX:+UnlockExperimentalVMOptions \ -XX:+UnlockExperimentalVMOptions \
-XX:+DisableExplicitGC \ -XX:+UnlockDiagnosticVMOptions \
-XX:+AlwaysActAsServerClassMachine \
-XX:+AlwaysPreTouch \ -XX:+AlwaysPreTouch \
-XX:G1NewSizePercent=30 \ -XX:+DisableExplicitGC \
-XX:G1MaxNewSizePercent=40 \ -XX:+UseNUMA \
-XX:G1HeapRegionSize=8M \ -XX:NmethodSweepActivity=1 \
-XX:G1ReservePercent=20 \ -XX:ReservedCodeCacheSize=400M \
-XX:G1HeapWastePercent=5 \ -XX:NonNMethodCodeHeapSize=12M \
-XX:G1MixedGCCountTarget=4 \ -XX:ProfiledCodeHeapSize=194M \
-XX:InitiatingHeapOccupancyPercent=15 \ -XX:NonProfiledCodeHeapSize=194M \
-XX:G1MixedGCLiveThresholdPercent=90 \ -XX:-DontCompileHugeMethods \
-XX:G1RSetUpdatingPauseTimePercent=5 \ -XX:MaxNodeLimit=240000 \
-XX:SurvivorRatio=32 \ -XX:NodeLimitFudgeFactor=8000 \
-XX:+UseVectorCmov \
-XX:+PerfDisableSharedMem \ -XX:+PerfDisableSharedMem \
-XX:MaxTenuringThreshold=1 \ -XX:+UseFastUnorderedTimeStamps \
-Dusing.aikars.flags=https://mcflags.emc.gs-Daikars.new.flags=true \ -XX:+UseCriticalJavaThreadPriority \
-XX:ThreadPriorityPolicy=1 \
-XX:AllocatePrefetchStyle=3
''; '';
serviceConfig = { serviceConfig = {