Jump to content

Luanti: Difference between revisions

From Official NixOS Wiki
Noewaeda (talk | contribs)
m Noewaeda moved page Minetest Server to Luanti: Luanti is the new name, and the name "minetest" appears in the article anyway, so it should appear in search results. The old name was also oddly captialised.
Noewaeda (talk | contribs)
No edit summary
 
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>


With this configuration, a user named {{ic|minetest}} will be created, along with its home folder '/var/lib/minetest'. All default Minetest configuration and world files are stored in {{ic|/var/lib/minetest/.minetest}}.  
With this configuration, a user named {{ic|minetest}} will be created, along with its home folder {{ic|/var/lib/minetest}}. All default Minetest configuration and world files are stored in {{ic|/var/lib/minetest/.minetest}}.  


The Minetest service will be started after running nixos-rebuild. It can be controlled using systemctl:
The Minetest service will be started after running nixos-rebuild. It can be controlled using systemctl:

Latest revision as of 21:48, 28 September 2026

Luanti (formerly Minetest) is an open-source voxel-based game engine focused on modding.

Minetest server

Below is a basic configuration that will host a Minetest server on port 30000:

{
 services.minetest-server = {
   enable = true;
   port = 30000;
 };
}

With this configuration, a user named minetest will be created, along with its home folder /var/lib/minetest. All default Minetest configuration and world files are stored in /var/lib/minetest/.minetest.

The Minetest service will be started after running nixos-rebuild. It can be controlled using systemctl:

systemctl start minetest-server.service
systemctl stop minetest-server.service

Additional options can be found in the NixOS options search