mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(minecraft): update pack url
This commit is contained in:
parent
ee5dc7aef2
commit
ca74c78f6b
1 changed files with 7 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (gensokyo-zone.lib) mapDefaults;
|
inherit (gensokyo-zone.lib) mapDefaults domain;
|
||||||
inherit (lib.modules) mkIf mkMerge mkDefault;
|
inherit (lib.modules) mkIf mkMerge mkDefault;
|
||||||
inherit (lib) versions;
|
inherit (lib) versions;
|
||||||
inherit (systemConfig.exports.services) minecraft;
|
inherit (systemConfig.exports.services) minecraft;
|
||||||
|
|
@ -19,13 +19,16 @@
|
||||||
enableBluemap = minecraft.ports.bluemap.enable;
|
enableBluemap = minecraft.ports.bluemap.enable;
|
||||||
packwizUpdate = true;
|
packwizUpdate = true;
|
||||||
modpack = rec {
|
modpack = rec {
|
||||||
owner = "kittywitch";
|
owner = "gensokyo-zone";
|
||||||
repo = "minecraft-modpack";
|
repo = "minecraft-modpack";
|
||||||
branch = "marka-${versions.majorMinor mcVersion}";
|
branch = "marka-${versions.majorMinor mcVersion}";
|
||||||
|
permalink = true;
|
||||||
pages = true;
|
pages = true;
|
||||||
packUrl =
|
packUrl =
|
||||||
if pages
|
if permalink
|
||||||
then "https://${owner}.github.io/${repo}/pack.toml"
|
then "https://${domain}/minecraft/modpack/${branch}/pack.toml"
|
||||||
|
else if pages
|
||||||
|
then "https://${owner}.github.io/${repo}/${branch}/pack.toml"
|
||||||
else "https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${branch}/pack.toml";
|
else "https://raw.githubusercontent.com/${owner}/${repo}/refs/heads/${branch}/pack.toml";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue