From 6f9b285bdb935fbab99978307034c7458ddc9d09 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Thu, 25 Dec 2025 11:49:29 -0600 Subject: asdf --- hosts/ganymede/minecraft.nix | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'hosts/ganymede/minecraft.nix') diff --git a/hosts/ganymede/minecraft.nix b/hosts/ganymede/minecraft.nix index a42e9a0..cff5de2 100644 --- a/hosts/ganymede/minecraft.nix +++ b/hosts/ganymede/minecraft.nix @@ -1,26 +1,24 @@ {config, ...}: { networking.firewall.allowedUDPPorts = [19132]; - virtualisation.oci-containers.backend = "podman"; - virtualisation.oci-containers.containers = { - "Minecraft" = { - environment = { - EULA = "TRUE"; - EMIT_SERVER_TELEMETRY = "true"; - SERVER_NAME = "YServer"; - TZ = config.time.timeZone; - VERSION = "1.21.81.2"; - CONTENT_LOG_FILE_ENABLED = "true"; + virtualisation.oci-containers.containers."Minecraft" = { + environment = { + EULA = "TRUE"; + EMIT_SERVER_TELEMETRY = "true"; - ALLOW_CHEATS = "false"; - DIFFICULTY = "1"; - }; - image = "itzg/minecraft-bedrock-server"; - ports = ["0.0.0.0:19132:19132/udp"]; - volumes = ["/srv/minecraft/:/data"]; + SERVER_NAME = "YServer"; + TZ = config.time.timeZone; + VERSION = "1.21.81.2"; + CONTENT_LOG_FILE_ENABLED = "true"; - podman.sdnotify = "conmon"; # avoid nasty errors about healthcheck (idk, the service runs fine) + ALLOW_CHEATS = "false"; + DIFFICULTY = "1"; }; + image = "itzg/minecraft-bedrock-server"; + ports = ["0.0.0.0:19132:19132/udp"]; + volumes = ["/srv/minecraft/:/data"]; + + podman.sdnotify = "conmon"; # avoid nasty errors about healthcheck (idk, the service runs fine) }; } -- cgit v1.3.1