hyperhive/nix/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 4cdbbafc44 feat(#2363): full-DHCP for all agents — drop static agent_network_ip
All agent containers now receive their bridge IP dynamically via DHCP
from the dnsmasq pool instead of a hash-derived static address:

- nix/templates/harness-base.nix: networking.useDHCP = true
- nix/modules/hive-gateway.nix: expand DHCP pool to full usable range
  (.2 to .254 on /24) — was last-14-IPs-only
- hive-sh4re/src/priv_proto.rs: remove agent_ip from NetworkIsolation
- hive-c0re/src/lifecycle/mod.rs: drop agent_network_ip + DHCP_POOL_SIZE
- hive-c0re/src/lifecycle/host_config.rs: remove agent_network_ip call
- hive-priv/src/main.rs: LOCAL_ADDRESS= empty (DHCP assigns IP);
  HOST_ADDRESS still set so nixos-container installs default route
  before the DHCP lease arrives
- nix/dhcp-pool-size: deleted (no longer needed)

The nix/dhcp-pool-size single-source-of-truth file and all associated
Rust/Nix dual-constant plumbing are gone — there is no static map.
bridge_gateway_ip() is retained (still needed for HOST_ADDRESS).

Closes #2363
2026-07-13 11:57:14 +02:00
..
hive-c0re.nix feat(#1970): host services.hyperhive.github.enable (default true) + meta.rs propagation of the off-switch 2026-07-11 12:18:55 +02:00
hive-ci.nix feat(#2363): DHCP pool for bridge service containers 2026-07-13 11:57:14 +02:00
hive-forge.nix chore(docs,nix): fix stale 'localhost via shared netns' claims in forge/matrix 2026-07-04 22:54:38 +02:00
hive-gateway.nix feat(#2363): full-DHCP for all agents — drop static agent_network_ip 2026-07-13 11:57:14 +02:00
hive-matrix.nix chore(docs,nix): fix stale 'localhost via shared netns' claims in forge/matrix 2026-07-04 22:54:38 +02:00
hive-network.nix chore(nix): trim stale body from deprecated isolateContainers option doc 2026-07-04 21:57:26 +02:00
hive-tls.nix fix(#2332): add After=hive-tls-ca to resign service — prevent first-boot CA race 2026-07-10 19:37:08 +02:00