From f9166805a65b6cc00a6eaed6743e15398fc787b0 Mon Sep 17 00:00:00 2001 From: uku Date: Sun, 14 Apr 2024 04:10:12 +0200 Subject: [PATCH] chore(etna): remove atm8 server --- systems/etna/minecraft.nix | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/systems/etna/minecraft.nix b/systems/etna/minecraft.nix index a722dae..5dfd754 100644 --- a/systems/etna/minecraft.nix +++ b/systems/etna/minecraft.nix @@ -13,13 +13,6 @@ serverPort = 7000; proxies = [ - { - name = "minecraft"; - type = "tcp"; - localIp = "127.0.0.1"; - localPort = 25565; - remotePort = 6000; - } { name = "ragnamod7"; type = "tcp"; @@ -31,27 +24,8 @@ }; }; + virtualisation.oci-containers.backend = "docker"; virtualisation.oci-containers.containers = { - "minecraft" = { - image = "itzg/minecraft-server"; - ports = ["25565:25565"]; - volumes = [ - "/data/minecraft:/data" - "/data/downloads:/downloads" - ]; - environmentFiles = [ - config.age.secrets.minecraftEnv.path - ]; - environment = { - EULA = "true"; - MEMORY = "10G"; - USE_AIKAR_FLAGS = "true"; - TYPE = "AUTO_CURSEFORGE"; - CF_SLUG = "all-the-mods-8"; - CF_FILE_ID = "4962718"; - }; - }; - "ragnamod7" = { image = "itzg/minecraft-server"; ports = ["25566:25565"]; @@ -69,6 +43,8 @@ TYPE = "AUTO_CURSEFORGE"; CF_SLUG = "ragnamod-vii"; CF_FILE_ID = "5171286"; + CF_EXCLUDE_MODS = "314904"; + CF_IGNORE_MISSING_FILES = "mods/ftbbackups2-forge-1.18.2-1.0.23.jar"; }; }; };