Zeit passiert

This commit is contained in:
mtgmonkey
2025-11-28 21:40:30 +01:00
parent ed5b9ace59
commit d2dc5b2ef4
5 changed files with 280 additions and 28 deletions

28
mc.nix Normal file
View File

@@ -0,0 +1,28 @@
{
pkgs,
nixpkgs,
...
}: {
nixpkgs.config.allowUnfree = true;
services.minecraft-servers = {
enable = true;
eula = true;
openFirewall = true;
servers.fabric = {
enable = true;
package = pkgs.fabricServers.fabric-1_21_1.override {
loaderVersion = "0.16.10";
};
symlinks = {
mods = pkgs.linkFarmFromDrvs "mods" (
builtins.attrValues {
Chunky = pkgs.fetchurl {
url = "https://cdn.modrinth.com/data/fALzjamp/versions/RVFHfo1D/Chunky-Fabric-1.4.23.jar";
sha256 = "sha256-NBKxcCR93nNR4JRdhX5xO+32+uBaswCqdNBv+94MoH4=";
};
}
);
};
};
};
}