hyperhive/nix/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 98660d134a refactor(c0re): pass hive-c0re serve config via a --config file, shrink ExecStart
The systemd ExecStart carried every host-level setting as its own flag —
nine of them, including two escaped JSON blobs (the context-window map and
the model-price table). Collapse them into a single `--config <file>` JSON.

- Reuse the existing HiveEnv as the container-injected config shape (add
  Deserialize + Default), and add a ServeConfig wrapper = flattened HiveEnv
  plus the hive-c0re-local model_prices table (kept out of HiveEnv since it
  is never injected into containers). serde(default) lets any field be
  omitted and fall back to its canonical default.
- clap: add --config; the per-setting flags become optional overrides
  (config file is the base, explicit flags win — preserves hivectl/debug
  ergonomics and bare `hive-c0re serve`).
- Coordinator::open and cmd_serve now take the bundled HiveEnv, which drops
  their too_many_arguments clippy allows. cmd_serve keeps a single
  too_many_lines allow (inherent daemon-boot orchestration, not arg-driven).
- nix: write the config as JSON to the store + pass --config, so ExecStart
  is one short line.
- Add a round-trip test proving the flatten + per-field defaults work.

Closes the ExecStart-length issue.
2026-06-08 21:57:46 +02:00
..
hive-c0re.nix refactor(c0re): pass hive-c0re serve config via a --config file, shrink ExecStart 2026-06-08 21:57:46 +02:00
hive-ci.nix chore(ci): drop issue tag from hive-ci-prefetch 401 log string 2026-06-06 12:34:51 +02:00
hive-forge.nix fix(#981): enable Forgejo Actions so runner registration token API works 2026-06-01 18:38:44 +02:00
hive-gateway.nix refactor(gateway): extract the _ vhost agent + dashboard location groups 2026-06-07 21:52:23 +02:00
hive-matrix.nix fix(matrix): address argus review — drop in-code issue tag + dead nameservers 2026-06-08 18:06:20 +02:00
hive-network.nix refactor: remove hyperhive.role option — there is only one role: agent 2026-06-04 14:31:44 +02:00