refactor: rename hubCastleUrl option to hubLibraUrl

Matches the upstream webapp source rebrand (castle-app → libra-app,
commit 442a755 in aiolabs/webapp). The chakra hub now reads
VITE_HUB_LIBRA_URL instead of VITE_HUB_CASTLE_URL, so the option that
sets it is renamed accordingly.

Servers consuming this module need to update their NixOS configs:
  services.webapp.hubCastleUrl  →  services.webapp.hubLibraUrl

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-05 11:45:33 +02:00
commit 7e96b87d67

View file

@ -69,7 +69,7 @@ let
# When unset (empty string), the corresponding chakra renders ghosted
# (non-link) — useful for hosts that don't deploy a given module.
VITE_HUB_ACTIVITIES_URL = cfg.hubActivitiesUrl;
VITE_HUB_CASTLE_URL = cfg.hubCastleUrl;
VITE_HUB_LIBRA_URL = cfg.hubLibraUrl;
VITE_HUB_WALLET_URL = cfg.hubWalletUrl;
VITE_HUB_CHAT_URL = cfg.hubChatUrl;
VITE_HUB_FORUM_URL = cfg.hubForumUrl;
@ -243,11 +243,11 @@ in {
example = "https://demo.example.com/sortir/";
description = "URL the chakra hub's Activities tile links to";
};
hubCastleUrl = lib.mkOption {
hubLibraUrl = lib.mkOption {
type = lib.types.str;
default = "";
example = "https://demo.example.com/castle/";
description = "URL the chakra hub's Castle tile links to";
example = "https://demo.example.com/libra/";
description = "URL the chakra hub's Libra tile links to";
};
hubWalletUrl = lib.mkOption {
type = lib.types.str;