17 lines
447 B
Nix
17 lines
447 B
Nix
|
{pkgs, ...}: let
|
||
|
common = import ../common.nix { inherit pkgs; };
|
||
|
in {
|
||
|
services.minecraft-servers.servers.dewdemolisher = {
|
||
|
enable = true;
|
||
|
package = pkgs.paperServers.paper-1_21_1;
|
||
|
jvmOpts = "-Xmx4084M";
|
||
|
serverProperties = common.serverProperties // {
|
||
|
difficulty = 2;
|
||
|
server-port = 30010;
|
||
|
motd = "§l§aDew Demolisher is here.";
|
||
|
};
|
||
|
whitelist = common.whitelist;
|
||
|
symlinks = common.symlinks;
|
||
|
};
|
||
|
}
|