Disabled server for now

This commit is contained in:
William 2024-04-16 10:21:51 -03:00
parent ba35020114
commit 302e9a2be9
2 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@
./hardware-configuration.nix
./jellyfin.nix
./librespeed.nix
./minecraft.nix
# ./minecraft.nix
./nextcloud.nix
./nginx.nix
./paperless.nix

View file

@ -4,7 +4,7 @@ let
modpack = (pkgs.fetchPackwizModpack {
url =
"https://raw.githubusercontent.com/baduhai/FFS/7d49a4209f1b13b23433079147340a5cad226f65/pack.toml";
packHash = "";
packHash = "sha256-VelG2l2eD2jsJD+e7lNi9bqolRZTa9pkri6jClJuqsQ=";
});
mcVersion = modpack.manifest.versions.minecraft;
fabricVersion = modpack.manifest.versions.fabric;
@ -17,18 +17,18 @@ in {
dataDir = "/data/minecraft";
servers."seridor" = {
enable = true;
package = pkgs.fabricServers.${serverVersion}.override {
loaderVersion = fabricVersion;
package = pkgs.fabricServers."fabric-1_20_1".override {
loaderVersion = "0.15.3";
};
openFirewall = true;
serverProperties = {
difficulty = "hard";
gamemode = "survival";
motd = "Prominence II";
motd = "Another RPG";
online-mode = false;
spawn-protection = false;
};
symlinks."mods" = "${modpack}/mods";
# symlinks."mods" = "${modpack}/mods";
};
};
}