From b36b3dbf615a2ce844038b2ee199e4db0ce9204e Mon Sep 17 00:00:00 2001 From: Padreug Date: Mon, 11 May 2026 20:18:17 +0200 Subject: [PATCH] feat: add hubRestaurantUrl option Mirror of the existing hub{Activities,Libra,Wallet,Chat,Forum,Market, Tasks}Url options for the restaurant chakra tile. Empty default keeps existing hosts ghosted; populate via the auto-derivation in server-deploy's webapp-standalones module when restaurant.enable is true. Co-Authored-By: Claude Opus 4.7 (1M context) --- webapp.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webapp.nix b/webapp.nix index 95888fa..25ee772 100644 --- a/webapp.nix +++ b/webapp.nix @@ -74,6 +74,7 @@ let VITE_HUB_FORUM_URL = cfg.hubForumUrl; VITE_HUB_MARKET_URL = cfg.hubMarketUrl; VITE_HUB_TASKS_URL = cfg.hubTasksUrl; + VITE_HUB_RESTAURANT_URL = cfg.hubRestaurantUrl; # Additional env vars NODE_ENV = "production"; @@ -272,6 +273,12 @@ in { example = "https://demo.example.com/tasks/"; description = "URL the chakra hub's Tasks tile links to"; }; + hubRestaurantUrl = lib.mkOption { + type = lib.types.str; + default = ""; + example = "https://demo.example.com/restaurant/"; + description = "URL the chakra hub's Restaurant tile links to"; + }; enableSSL = lib.mkOption { type = lib.types.bool;