apply patch from neuro

This commit is contained in:
2026-02-20 12:51:32 +00:00
parent 799ad9a15d
commit 63a7fd716f
8 changed files with 283 additions and 48 deletions

View File

@@ -0,0 +1,25 @@
{
pkgs,
...
}:
{
services.minecraft-servers = {
enable = true;
eula = true;
openFirewall = true;
servers.vanilla = {
enable = true;
jvmOpts = "-Xmx6G -Xms2G";
package = pkgs.minecraftServers.vanilla-1_21_11;
serverProperties = {
difficulty = "hard";
online-mode = true;
view-distance = 32;
level-seed = "8306359138650378643";
pause-when-empty-seconds = 0;
};
};
};
}