NixOS-Config/system/server/minecraft/servers/dewdemolisher.nix

18 lines
494 B
Nix
Raw Normal View History

{pkgs, ...}: let
common = import ../common.nix { inherit pkgs; };
in {
services.minecraft-servers.servers.dewdemolisher = {
enable = true;
package = pkgs.paperServers.paper-1_21_1;
2024-09-25 03:44:06 -04:00
jvmOpts = "-Xmx2000M";
serverProperties = common.serverProperties // {
difficulty = 2;
server-port = 30010;
2024-09-25 03:44:06 -04:00
motd = "\\u00A7l\\u00A7aDew Demolisher is here.";
};
whitelist = common.whitelist;
2024-09-25 03:44:06 -04:00
symlinks = common.paperSymlinks;
files = common.configFiles;
};
}