summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
Diffstat (limited to 'system/services')
-rw-r--r--system/services/minecraft/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/services/minecraft/default.nix b/system/services/minecraft/default.nix
index 64f2ee7..c9f7b64 100644
--- a/system/services/minecraft/default.nix
+++ b/system/services/minecraft/default.nix
@@ -9,6 +9,7 @@
     eula = true;
     dataDir = "/srv/minecraft";
     openFirewall = true;
+    jvmOpts = "-Xmx8192M -Xms8192M";
     whitelist = {
       ShadyCraft = "7995eea5-b648-41c4-9b0f-7fc082565952";
       Nightingale768 = "1125d077-6709-44b2-9be0-587aec772e7a";
@@ -20,6 +21,8 @@
       white-list = true;
       difficulty = 3;
       gamemode = "survival";
+      enforce-whitelist = true;
+      simulation-distance = 15;
     };
   };
 }