Make the minecraft stuff work again
This commit is contained in:
parent
cb42b5c0e4
commit
78ac018a11
7 changed files with 68 additions and 35 deletions
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
common = import ../../common { inherit pkgs; };
|
||||
in {
|
||||
services = {
|
||||
minecraft-servers.servers.skyblock = {
|
||||
package = pkgs.paperServers.paper-1_21_4;
|
||||
jvmOpts = "-Xmx2000M";
|
||||
serverProperties = common.serverProperties // {
|
||||
difficulty = 3;
|
||||
server-port = 30015;
|
||||
motd = "\\u00A7l\\u00A7aBlocking in the sky";
|
||||
};
|
||||
whitelist = common.whitelist;
|
||||
symlinks = common.paperSymlinks;
|
||||
files = common.configFiles;
|
||||
};
|
||||
ddclient.domains = lib.mkIf config.services.minecraft-servers.servers.dewdemolisher.enable [ "skyblock.${config.domains.p2}" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue