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 ./hardware-configuration.nix
./jellyfin.nix ./jellyfin.nix
./librespeed.nix ./librespeed.nix
./minecraft.nix # ./minecraft.nix
./nextcloud.nix ./nextcloud.nix
./nginx.nix ./nginx.nix
./paperless.nix ./paperless.nix

View file

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