hyperhive/nix/templates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
damocles ea5f70629c harness-base: generic bash-env.sh + _bashEnvFragments accumulator (mara on #779)
mara: 'if we replace it with one thing, that should be named more
generic so we dont have to change it for future additions'.

extract the BASH_ENV plumbing into a shared shape:

- new internal option `hyperhive._bashEnvFragments` (types.lines)
  accumulates shell snippets across feature modules.
- file path is now `/etc/hyperhive/bash-env.sh` (was the
  cargo-specific bash-cargo-short.sh).
- the file + BASH_ENV + interactiveShellInit are gated on
  `_bashEnvFragments != """ so a fully feature-disabled agent has
  no overhead.

cargo function moves to a `lib.mkIf cargo.shortMessages` contribution
to `_bashEnvFragments` — same behaviour, no rename when the next
hook (nix-env helper, claude-cmd helpers, whatever) lands.
2026-05-31 14:46:29 +02:00
..
agent-base.nix nix/templates: actually collapse agent-base + manager to role shims (#671 fixup) 2026-05-31 00:07:55 +02:00
harness-base.nix harness-base: generic bash-env.sh + _bashEnvFragments accumulator (mara on #779) 2026-05-31 14:46:29 +02:00
manager.nix nix/templates: actually collapse agent-base + manager to role shims (#671 fixup) 2026-05-31 00:07:55 +02:00
weston-vnc.nix nix: drop unused weston-rdp.nix (closes #263) 2026-05-22 17:30:32 +02:00