Refactor part 2
This commit is contained in:
parent
7b819c69d1
commit
56f3c7e2b0
49 changed files with 385 additions and 358 deletions
19
hosts/servers/alexandria/minecraft.nix
Normal file
19
hosts/servers/alexandria/minecraft.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.minecraft-server = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
declarative = true;
|
||||
openFirewall = true;
|
||||
package = pkgs.papermc;
|
||||
serverProperties = {
|
||||
motd = "Bem-vindo a Alexandria";
|
||||
difficulty = "hard";
|
||||
gamemode = "survival";
|
||||
online-mode = "false";
|
||||
spawn-protection = "0";
|
||||
};
|
||||
dataDir = "/data/minecraft";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue