mc server is back
This commit is contained in:
parent
fe7dd58397
commit
86c5282a57
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
let
|
let
|
||||||
modpack = (pkgs.fetchPackwizModpack {
|
modpack = (pkgs.fetchPackwizModpack {
|
||||||
url =
|
url =
|
||||||
"https://raw.githubusercontent.com/baduhai/FFS/7d49a4209f1b13b23433079147340a5cad226f65/pack.toml";
|
"https://raw.githubusercontent.com/baduhai/FFS/11a82acc9c67929f2130e03e3fc397a11d9cd809/pack.toml";
|
||||||
packHash = "sha256-VelG2l2eD2jsJD+e7lNi9bqolRZTa9pkri6jClJuqsQ=";
|
packHash = "";
|
||||||
});
|
});
|
||||||
mcVersion = modpack.manifest.versions.minecraft;
|
mcVersion = modpack.manifest.versions.minecraft;
|
||||||
fabricVersion = modpack.manifest.versions.fabric;
|
fabricVersion = modpack.manifest.versions.fabric;
|
||||||
|
|
@ -17,8 +17,8 @@ in {
|
||||||
dataDir = "/data/minecraft";
|
dataDir = "/data/minecraft";
|
||||||
servers."seridor" = {
|
servers."seridor" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.fabricServers."fabric-1_20_1".override {
|
package = pkgs.fabricServers.${serverVersion}.override {
|
||||||
loaderVersion = "0.15.3";
|
loaderVersion = fabricVersion;
|
||||||
};
|
};
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
serverProperties = {
|
serverProperties = {
|
||||||
|
|
@ -28,7 +28,7 @@ in {
|
||||||
online-mode = false;
|
online-mode = false;
|
||||||
spawn-protection = false;
|
spawn-protection = false;
|
||||||
};
|
};
|
||||||
# symlinks."mods" = "${modpack}/mods";
|
symlinks."mods" = "${modpack}/mods";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue