From 7e96b87d67cd14035d52697cba0ab921e67019b4 Mon Sep 17 00:00:00 2001 From: Padreug Date: Tue, 5 May 2026 11:45:33 +0200 Subject: [PATCH] refactor: rename hubCastleUrl option to hubLibraUrl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- webapp.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp.nix b/webapp.nix index 87e220c..c2facd8 100644 --- a/webapp.nix +++ b/webapp.nix @@ -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;