mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
minecraft: use jdk25 for fabric 26.2 server
This commit is contained in:
@@ -24,12 +24,14 @@ in
|
||||
servers = {
|
||||
vanilla = {
|
||||
enable = true;
|
||||
package = pkgs.fabricServers.fabric-26_2;
|
||||
package = pkgs.fabricServers.fabric-26_2.override {
|
||||
jre_headless = pkgs.jdk25_headless;
|
||||
};
|
||||
jvmOpts = "-Xmx2G -Xms1G";
|
||||
enableReload = true;
|
||||
serverProperties = {
|
||||
view-distance=6;
|
||||
simulation-distance=4;
|
||||
view-distance = 6;
|
||||
simulation-distance = 4;
|
||||
online-mode = false;
|
||||
difficulty = 3;
|
||||
gamemode = 1;
|
||||
|
||||
Reference in New Issue
Block a user