Nix configurations for my homelab
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adjust ram for harpy express minecraft server and change the port

I have SRV dns records setup so the port shouldn't matter and this
prevents people accidentally finding the server by just plugging in my
IP.

yemou a1e83363 3b8ac30a

+3 -2
+3 -2
modules/services/minecraft/harpy-express.nix
··· 2 2 { 3 3 4 4 networking.firewall = { 5 - allowedTCPPorts = [ 25565 ]; 5 + allowedTCPPorts = [ 25567 ]; 6 6 allowedUDPPorts = [ 24454 ]; 7 7 }; 8 8 ··· 17 17 { 18 18 enable = true; 19 19 package = pkgs.fabricServers.fabric-1_21_1; 20 - jvmOpts = "-Xmx4G -Xms1G"; 20 + jvmOpts = "-Xmx2G -Xms1G"; 21 21 operators.yemou = { 22 22 uuid = "12069472-23e7-48a8-b893-461483a4da88"; 23 23 bypassesPlayerLimit = true; ··· 31 31 generate-structures = false; 32 32 motd = "The Last Voyage of the Harpy Express (1.3.2)"; 33 33 server-ip = "::"; 34 + server-port = 25567; 34 35 simulation-distance = 8; 35 36 spawn-animals = false; 36 37 spawn-monsters = false;