From 876650cf2e63942e47897f8c120673785e608e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Mon, 14 Jul 2025 16:52:14 +0200 Subject: [PATCH] change minecraft server --- hosts/MONSTER/default.nix | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/hosts/MONSTER/default.nix b/hosts/MONSTER/default.nix index 4632128..34bcc4e 100644 --- a/hosts/MONSTER/default.nix +++ b/hosts/MONSTER/default.nix @@ -101,15 +101,29 @@ }; }; - virtualisation.oci-containers.containers.craftoria = { - image = "eclipse-temurin:21-jre"; - volumes = [ "/home/theaninova/.config/craftoria:/craftoria" ]; - environment = { }; - ports = [ "25565:25565" ]; - workdir = "/craftoria"; - entrypoint = "/bin/bash"; - cmd = [ "startserver.sh" ]; - extraOptions = [ "--network=host" ]; + virtualisation.oci-containers.containers = { + statech = { + image = "eclipse-temurin:21-jre"; + volumes = [ "/home/theaninova/.config/statech:/statech" ]; + environment = { }; + ports = [ "25565:25565" ]; + workdir = "/statech"; + entrypoint = "/bin/bash"; + cmd = [ "start.sh" ]; + extraOptions = [ "--network=host" ]; + }; + /* + craftoria = { + image = "eclipse-temurin:21-jre"; + volumes = [ "/home/theaninova/.config/craftoria:/craftoria" ]; + environment = { }; + ports = [ "25565:25565" ]; + workdir = "/craftoria"; + entrypoint = "/bin/bash"; + cmd = [ "startserver.sh" ]; + extraOptions = [ "--network=host" ]; + }; + */ }; fonts = {