Server/minecraft: remove
This commit is contained in:
parent
7eeff4c125
commit
98ebbcfbd3
2 changed files with 0 additions and 35 deletions
|
|
@ -14,7 +14,6 @@
|
|||
./headscale.nix
|
||||
./caddy.nix
|
||||
./rust_motd.nix
|
||||
./minecraft.nix
|
||||
./adguard.nix
|
||||
./changedetection-io.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"minecraft-server"
|
||||
];
|
||||
|
||||
users.users.toast.extraGroups = ["minecraft"];
|
||||
|
||||
services.minecraft-servers = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
openFirewall = true;
|
||||
servers = {
|
||||
vrlocals = {
|
||||
enable = true;
|
||||
package = pkgs.fabricServers.fabric-1_20_1;
|
||||
jvmOpts = "-Xmx8G";
|
||||
serverProperties = {
|
||||
motd = "\\u00A7aBigChadGuys \\u00A7lPlus \\u00A7a(w/Cobblemon!) v2.8.1\\u00A7r\\n\\u00A76Have fun!";
|
||||
server-port = 25565;
|
||||
level-seed = "-1450714289616987871";
|
||||
white-list = true;
|
||||
spawn-protection = 0;
|
||||
enable-command-block = true;
|
||||
sync-chunk-writes = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue