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) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-11 20:18:17 +02:00
commit b36b3dbf61

View file

@ -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;