diff --git a/applications/games/minecraft.nix b/applications/games/minecraft.nix index 6889c6e..49bd79f 100644 --- a/applications/games/minecraft.nix +++ b/applications/games/minecraft.nix @@ -27,18 +27,11 @@ projects = { minecraft_proxy.settings.services.mc_proxy.service = { - image = "ghcr.io/haveachin/infrared:1.3.3"; - environment = { - INFRARED_CONFIG_PATH = "/configs"; - }; - - volumes = [ "/etc/games/minecraft/proxy:/configs" ]; - ports = [ - "25565:25565/tcp" - ]; - - expose = [ - "25565" + image = "itzg/mc-router:1.18.0"; + ports = [ "25565:25565/tcp" ]; + expose = [ "25565" ]; + command = [ + "--mapping=compsoc_classic.minecraft.games.skynet.ie=172.17.0.1:20000,compsoc_test.minecraft.games.skynet.ie=172.17.0.1:20001" ]; };