will continue on other host
This commit is contained in:
parent
f5adb9d6d7
commit
40e311e5e4
4 changed files with 121 additions and 27 deletions
20
hosts/modules/trantor/minecraft.nix
Normal file
20
hosts/modules/trantor/minecraft.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.minecraft-server = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
servers.fabric = {
|
||||
enable = true;
|
||||
package = pkgs.fabricServers.fabric-1_21_5;
|
||||
openFirewall = true;
|
||||
serverProperties = {
|
||||
server-port = 25566;
|
||||
difficulty = "hard";
|
||||
gamemode = "survival";
|
||||
white-list = true;
|
||||
motd = "Servidor dos primos";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue