fix(minecraft): pack url moved to pages

This commit is contained in:
arcnmx 2024-09-30 21:00:44 -07:00
parent 2ad47fcd0e
commit a5966c0724
2 changed files with 13 additions and 8 deletions

View file

@ -22,7 +22,10 @@
owner = "kittywitch";
repo = "minecraft-modpack";
branch = "marka-${versions.majorMinor mcVersion}";
packUrl = "https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${branch}/pack.toml";
pages = true;
packUrl = if pages
then "https://${owner}.github.io/${repo}/pack.toml"
else "https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${branch}/pack.toml";
};
in {
services.minecraft-java-server = {