summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-09-06 16:30:49 +0200
committerMel <mel@rnrd.eu>2026-09-06 18:05:25 +0200
commit4cf94216f82df00d1d84cc38da9ca9d02ae644ce (patch)
tree37648153418134f6069350c2577d659e8aad396f
parent2e0ff15da2e3d06505f2a4d3c84f528be54ccfe9 (diff)
downloadnetwork-4cf94216f82df00d1d84cc38da9ca9d02ae644ce.tar.zst
network-4cf94216f82df00d1d84cc38da9ca9d02ae644ce.zip
Move modded Minecraft to CurseForge from Modrinth due to upstream issue
Signed-off-by: Mel <mel@rnrd.eu>
-rw-r--r--services/minecraft/p2.nix16
1 files changed, 5 insertions, 11 deletions
diff --git a/services/minecraft/p2.nix b/services/minecraft/p2.nix
index baec477..4b85ddc 100644
--- a/services/minecraft/p2.nix
+++ b/services/minecraft/p2.nix
@@ -30,22 +30,16 @@ in
environment = {
EULA = "TRUE";
- # image can configure everything by itself! (woah!)
- TYPE = "MODRINTH";
- MODRINTH_MODPACK = "prominence-2-fabric";
- MODRINTH_VERSION = "4.0.4"; # id: v5JSKaF2
- MODRINTH_LOADER = "fabric";
-
- # 4.0.4 needs s_lib but decided to not package it properly for servers. :(
- # this can be dropped once it's fixed in upstream!
- MODRINTH_PROJECTS = "s-lib:qf2mIL1z";
+ # curseforge only, modrinth is not supported due to upstream issue!
+ # see: https://github.com/nvb-uy/ProminenceII-HasturianEra/issues/559
+ TYPE = "AUTO_CURSEFORGE";
+ CF_SLUG = "prominence-2-hasturian-era";
+ CF_FILENAME_MATCHER = "4.0.4";
MEMORY = p2Memory;
OVERRIDE_SERVER_PROPERTIES = "false"; # configs are managed by hand
- # runs as root, so the mounted files are root-owned too,
- # created as 0755/0644 to match the mount point itself.
UID = "0";
GID = "0";
UMASK = "0022";