Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 21 insertions, 8 deletions
-rw-r--r--machines/marduk/minecraft.nix29
diff --git a/machines/marduk/minecraft.nix b/machines/marduk/minecraft.nix
index 083323d..ca88566 100644
--- a/machines/marduk/minecraft.nix
+++ b/machines/marduk/minecraft.nix
@@ -1,21 +1,34 @@
{ config, pkgs, ... }:
with pkgs.nix-minecraft; {
- services.minecraft-servers = {
+ services.minecraft-servers = let
+ players = {
+ Syndamia = "43974325-b17b-4bfb-b5ab-4854c38a9d0a";
+ };
+ in {
enable = true;
eula = true;
openFirewall = true;
- servers.test = {
+ servers.test2 = {
enable = false;
jvmOpts = "-XX:+UseG1GC -Xms2048M -Xmx2048M";
- package = vanillaServers.vanilla-1_14_2;
+ package = vanillaServers.vanilla-1_6_4;
- whitelist = {
- Syndamia = "43974325-b17b-4bfb-b5ab-4854c38a9d0a";
- };
- operators = {
- Syndamia = "43974325-b17b-4bfb-b5ab-4854c38a9d0a";
+ # whitelist = {
+ # inherit (players) Syndamia;
+ # };
+ # operators = {
+ # inherit (players) Syndamia;
+ # };
+
+ files = {
+ "ops.txt".value = [
+ "Syndamia"
+ ];
+ "white-list.txt".value = [
+ "Syndamia"
+ ];
};
serverProperties = {