readme: drop "read next" + add minimal host flake.nix example

This commit is contained in:
müde 2026-05-15 16:43:20 +02:00
parent 6468c90ad2
commit 2e8597b9db

View file

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