readme: drop "read next" + add minimal host flake.nix example
This commit is contained in:
parent
6468c90ad2
commit
2e8597b9db
1 changed files with 38 additions and 4 deletions
42
README.md
42
README.md
|
|
@ -23,11 +23,45 @@ in a turn loop, exposes a per-agent web UI with a live event stream, and
|
||||||
talks to the broker over a bind-mounted unix socket via an embedded MCP
|
talks to the broker over a bind-mounted unix socket via an embedded MCP
|
||||||
server claude calls into.
|
server claude calls into.
|
||||||
|
|
||||||
## Read next
|
## Host config
|
||||||
|
|
||||||
- **[CLAUDE.md](CLAUDE.md)** — developer reference: conventions, gotchas,
|
Minimal `flake.nix` for a host that runs hive-c0re:
|
||||||
per-subsystem design, file map.
|
|
||||||
- **[TODO.md](TODO.md)** — open work items.
|
```nix
|
||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
|
hyperhive.url = "git+https://git.berlin.ccc.de/vinzenz/hyperhive";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { nixpkgs, hyperhive, ... }: {
|
||||||
|
nixosConfigurations.my-host = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
hyperhive.nixosModules.hive-c0re
|
||||||
|
({ ... }: {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
hyperhive.overlays.default
|
||||||
|
hyperhive.overlays.claude-unstable
|
||||||
|
];
|
||||||
|
services.hive-c0re = {
|
||||||
|
enable = true;
|
||||||
|
hyperhiveFlake = "${hyperhive}";
|
||||||
|
};
|
||||||
|
# ... rest of your host config (hardware, networking, users, …)
|
||||||
|
system.stateVersion = "25.11";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
hive-c0re will then:
|
||||||
|
- open its admin socket at `/run/hyperhive/host.sock` + dashboard on
|
||||||
|
`:7000`,
|
||||||
|
- auto-create the manager container (`hm1nd`) if missing,
|
||||||
|
- auto-rebuild any managed container whose hyperhive rev is stale.
|
||||||
|
|
||||||
## Build / deploy
|
## Build / deploy
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue