From 0328bd5fbd980f9915c49b4855549bf727635e51 Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 24 May 2025 22:55:13 +1000 Subject: [PATCH] bocchi: make the neoforge 1.21.1 minecraft server listen on port 25565 --- hosts/bocchi/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/bocchi/configuration.nix b/hosts/bocchi/configuration.nix index dd022a7..5100d79 100644 --- a/hosts/bocchi/configuration.nix +++ b/hosts/bocchi/configuration.nix @@ -6,6 +6,11 @@ ]; networking.hostName = "bocchi"; - hardware.graphics.enable = true; + + # game servers + services.minecraft-servers.servers.velocity.enable = lib.mkForce false; + virtualisation.oci-containers.containers.neoforge-1-21-1.ports = [ "25565:25565" ]; + virtualisation.oci-containers.containers.neoforge-1-21-1.environment.SERVER_PORT = lib.mkForce "25565"; + }