mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
more minecraft stuff
This commit is contained in:
parent
82dc3b5b7f
commit
3b5678a9ca
3 changed files with 22 additions and 21 deletions
|
|
@ -1,7 +1,7 @@
|
|||
_: {
|
||||
disk = {
|
||||
main = {
|
||||
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_51056934";
|
||||
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_51091227";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
|
|
|
|||
|
|
@ -64,9 +64,9 @@
|
|||
loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot"; # ← use the same mount point here.
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
grub = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 10;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,27 +21,28 @@
|
|||
after = [ "network.target" ];
|
||||
script = ''
|
||||
${lib.getExe self'.packages.fabric} \
|
||||
-Xms6G \
|
||||
-Xmx6G \
|
||||
-XX:+UseG1GC \
|
||||
-XX:+ParallelRefProcEnabled \
|
||||
-XX:MaxGCPauseMillis=200 \
|
||||
-Xms10G \
|
||||
-Xmx10G \
|
||||
-XX:+UnlockExperimentalVMOptions \
|
||||
-XX:+DisableExplicitGC \
|
||||
-XX:+UnlockDiagnosticVMOptions \
|
||||
-XX:+AlwaysActAsServerClassMachine \
|
||||
-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:+DisableExplicitGC \
|
||||
-XX:+UseNUMA \
|
||||
-XX:NmethodSweepActivity=1 \
|
||||
-XX:ReservedCodeCacheSize=400M \
|
||||
-XX:NonNMethodCodeHeapSize=12M \
|
||||
-XX:ProfiledCodeHeapSize=194M \
|
||||
-XX:NonProfiledCodeHeapSize=194M \
|
||||
-XX:-DontCompileHugeMethods \
|
||||
-XX:MaxNodeLimit=240000 \
|
||||
-XX:NodeLimitFudgeFactor=8000 \
|
||||
-XX:+UseVectorCmov \
|
||||
-XX:+PerfDisableSharedMem \
|
||||
-XX:MaxTenuringThreshold=1 \
|
||||
-Dusing.aikars.flags=https://mcflags.emc.gs-Daikars.new.flags=true \
|
||||
-XX:+UseFastUnorderedTimeStamps \
|
||||
-XX:+UseCriticalJavaThreadPriority \
|
||||
-XX:ThreadPriorityPolicy=1 \
|
||||
-XX:AllocatePrefetchStyle=3
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue