From 2b6e629d30d8ebc7385f912159b5ec401fb11799 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 12 Jan 2024 18:57:34 +0000 Subject: [PATCH] feat: added phildeb minecraft server --- applications/games/minecraft.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/applications/games/minecraft.nix b/applications/games/minecraft.nix index 6a9f786..5bd427a 100644 --- a/applications/games/minecraft.nix +++ b/applications/games/minecraft.nix @@ -93,6 +93,13 @@ in { r_type = "CNAME"; value = cfg.host.name; } + + # phildeb + { + record = "phildeb.${cfg.domain.sub}"; + r_type = "CNAME"; + value = cfg.host.name; + } ]; networking.firewall.allowedTCPPorts = [ @@ -131,7 +138,7 @@ in { ports = ["25565:25565/tcp"]; expose = ["25565"]; command = [ - "--mapping=compsoc_classic.${short_domain}=mc_config:20000,compsoc.${short_domain}=mc_config:20001,gsoc.${short_domain}=mc_config:20002,gsoc.${short_domain}=mc_config:20002,gsoc_abridged.${short_domain}=mc_config:20003" + "--mapping=compsoc_classic.${short_domain}=mc_config:20000,compsoc.${short_domain}=mc_config:20001,gsoc.${short_domain}=mc_config:20002,gsoc.${short_domain}=mc_config:20002,gsoc_abridged.${short_domain}=mc_config:20003,phildeb.${short_domain}=mc_config:20004" ]; }; @@ -159,6 +166,9 @@ in { "20001:20001/tcp" # games "20002:20002/tcp" + "20003:20003/tcp" + # phildeb + "20004:20004/tcp" ]; }; };