hyperhive/nix/templates/manager.nix

14 lines
582 B
Nix

{ lib, ... }:
{
# Entry-point for the privileged root agent (ruth). Referenced from
# `flake.nix` (`nixosConfigurations.ruth`) and the meta-flake's
# `applied/ruth/flake.nix`.
imports = [ ./harness-base.nix ];
# The root/manager bootstraps a fresh hive, so it gets the hyperhive
# reference docs surfaced by default (the additive `CLAUDE.md` pointer
# → `$HIVE_DOCS_DIR/docs/setup.md`, added via `claude --add-dir`).
# `mkDefault` so a manager's own `agent.nix` can still turn it off.
# Other agents default off.
hyperhive.docs.enable = lib.mkDefault true;
}