From f215390d8e56d4c5fc71b6d8ac26eff979d83713 Mon Sep 17 00:00:00 2001 From: uku Date: Fri, 20 Sep 2024 23:42:39 +0200 Subject: [PATCH] feat(etna): add vanilla server --- systems/etna/minecraft.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/systems/etna/minecraft.nix b/systems/etna/minecraft.nix index 8f91897..1e5780d 100644 --- a/systems/etna/minecraft.nix +++ b/systems/etna/minecraft.nix @@ -21,11 +21,25 @@ MODRINTH_MODPACK = "https://modrinth.com/modpack/adrenaserver/version/1.6.0+1.20.6.fabric"; }; }; + + vanilla = _utils.mkMinecraftServer config { + name = "vanilla"; + port = 25565; + remotePort = 6005; + memory = "4G"; + envFiles = [secret.path]; + env = { + USE_AIKAR_FLAGS = "true"; + TYPE = "MODRINTH"; + MODRINTH_MODPACK = "https://modrinth.com/modpack/adrenaline/version/1.24.0+1.21.1.fabric"; + }; + }; in { imports = [ secret.generate lynn + vanilla ]; systemd.services.restart-minecraft-servers = {