Minetest Server: Difference between revisions
imported>Nix m add Software/Applications subcategory |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
With this setup, a user named | With this setup, a user named {{ic|minetest}} will be created, along with its home folder '/var/lib/minetest'. All standard 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 | The Minetest service will be started after running nixos-rebuild. It can be controlled using <code>systemctl</code> | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang=nix> | ||
systemctl start minetest-server.service | systemctl start minetest-server.service | ||
systemctl stop minetest-server.service | systemctl stop minetest-server.service | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Additional options can be found in the NixOS options [https://search.nixos.org/options?channel= | Additional options can be found in the NixOS options [https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&query=minetest-server search] | ||
[[Category:Server]] | [[Category:Server]] | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Gaming]] |