minecraft: use jdk25 for fabric 26.2 server

This commit is contained in:
2026-08-12 00:22:53 +03:00
parent b933436a6e
commit cbf731495a
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
./glances.nix ./glances.nix
./homebox.nix ./homebox.nix
./immich.nix ./immich.nix
./minecraft.nix # ./minecraft.nix
./miniflux.nix ./miniflux.nix
./navidrome.nix ./navidrome.nix
./nextcloud.nix ./nextcloud.nix
+5 -3
View File
@@ -24,12 +24,14 @@ in
servers = { servers = {
vanilla = { vanilla = {
enable = true; enable = true;
package = pkgs.fabricServers.fabric-26_2; package = pkgs.fabricServers.fabric-26_2.override {
jre_headless = pkgs.jdk25_headless;
};
jvmOpts = "-Xmx2G -Xms1G"; jvmOpts = "-Xmx2G -Xms1G";
enableReload = true; enableReload = true;
serverProperties = { serverProperties = {
view-distance=6; view-distance = 6;
simulation-distance=4; simulation-distance = 4;
online-mode = false; online-mode = false;
difficulty = 3; difficulty = 3;
gamemode = 1; gamemode = 1;
+4 -4
View File
@@ -73,10 +73,10 @@ let
port = 8083; port = 8083;
body = true; body = true;
} }
{ # {
domain = "mc.zeroq.su"; # domain = "mc.zeroq.su";
port = 25565; # port = 25565;
} # }
{ {
domain = "nix-cache.zeroq.su"; domain = "nix-cache.zeroq.su";
port = 5000; port = 5000;