forked from nico/dots
bocchi: make the neoforge 1.21.1 minecraft server listen on port 25565
This commit is contained in:
parent
1c029d8d97
commit
0328bd5fbd
1 changed files with 6 additions and 1 deletions
|
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue