diff --git a/hosts/yuki/services/default.nix b/hosts/yuki/services/default.nix index 2f05bbd..dac378b 100644 --- a/hosts/yuki/services/default.nix +++ b/hosts/yuki/services/default.nix @@ -7,7 +7,7 @@ ./homarr.nix ./dashdot.nix ./jellyfin.nix - ./neko.nix ./forgejo-runners.nix + ./minecraft.nix ]; } diff --git a/hosts/yuki/services/minecraft.nix b/hosts/yuki/services/minecraft.nix index 571cb24..2412208 100644 --- a/hosts/yuki/services/minecraft.nix +++ b/hosts/yuki/services/minecraft.nix @@ -1,13 +1,18 @@ _: { networking.firewall.allowedTCPPorts = [25565]; virtualisation.oci-containers.containers.minecraft = { - image = "als3bas/zulu-purpurmc:latest"; + image = "itzg/minecraft-server"; ports = ["25565:25565"]; environment = { - MEMORYSIZE = "10G"; + EULA = "TRUE"; + VERSION = "1.20.2"; + MEMORY = "4G"; + TYPE = "FABRIC"; + FABRIC_LOADER_VERSION = "0.14.23"; + FABRIC_LAUNCHER_VERSION = "0.11.2"; }; volumes = [ - "/home/notoh/docker/purpur:/data:rw" + "/home/notoh/docker/modded-mc:/data:rw" ]; }; }