drop the unread HIVE_ASSETS_DIR env from the hive-c0re unit
This commit is contained in:
parent
35dcc52e21
commit
ca6fc87566
2 changed files with 6 additions and 8 deletions
|
|
@ -41,9 +41,6 @@ in
|
||||||
# agent daemon. nginx runs on the host, which is where this
|
# agent daemon. nginx runs on the host, which is where this
|
||||||
# store path already is, so it is reachable as written.
|
# store path already is, so it is reachable as written.
|
||||||
HIVE_AGENT_FRONTEND_DIR = "${cfg.servedFrontend}/agent";
|
HIVE_AGENT_FRONTEND_DIR = "${cfg.servedFrontend}/agent";
|
||||||
# Path to the static runtime asset tree (branding + claude
|
|
||||||
# prompts). `hive_sh4re::assets::*` reads paths underneath.
|
|
||||||
HIVE_ASSETS_DIR = "${cfg.assets}/share/hyperhive";
|
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
# Identity env vars threaded into c0re's own service env and
|
# Identity env vars threaded into c0re's own service env and
|
||||||
|
|
|
||||||
|
|
@ -53,11 +53,12 @@
|
||||||
description = ''
|
description = ''
|
||||||
Bundled static runtime assets (see `nix/packages/assets.nix`): the
|
Bundled static runtime assets (see `nix/packages/assets.nix`): the
|
||||||
project's branding family + the claude system-prompt template +
|
project's branding family + the claude system-prompt template +
|
||||||
claude-settings JSON. Output has `share/hyperhive/{branding,prompts}/`;
|
claude-settings JSON. Output has `share/hyperhive/{branding,prompts}/`.
|
||||||
passed to hive-c0re's systemd unit via `HIVE_ASSETS_DIR`
|
hive-c0re's unit does not read it; swarm-controller takes its default
|
||||||
(`hive_sh4re::assets::*` resolve paths underneath). Override to
|
org avatar from here (see
|
||||||
ship customised branding or prompts without rebuilding the
|
{option}`services.hyperhive.deploy.swarm-controller.configOrgAvatarPng`).
|
||||||
rust derivation.
|
Override to ship customised branding without rebuilding the rust
|
||||||
|
derivation.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
xdgIcons = lib.mkOption {
|
xdgIcons = lib.mkOption {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue