hyperhive/nix/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
müde d272803d58 fix(#702): spare agent creds from migration chown; give nix a writable HOME
Two privsep follow-ups, both in the hive-c0re service:

1. The migration 'chown -R hive-core /var/lib/hyperhive' (which only
   started running once ExecStartPre stopped failing 203/EXEC) stomped every
   agent's bind-mounted creds — agents/<name>/{claude,state,harness,config}
   are owned by the per-agent/manager users — logging all agents out with no
   way back in. Scope it to everything *except* agents/, plus the agents/
   dir node itself so c0re can still create new per-agent subdirs. Each
   container's hive-agent-user-migrate activation chowns the contents back.

2. nix (prebuild 'nix build', flake-check, meta eval in c0re; nixos-container
   update->nix in priv) writes its cache under $HOME/.cache. Both services
   run as users with no home -> HOME=/var/empty (unwritable) -> Lix cache
   init fails, rebuilds error out. Set HOME to each service's StateDirectory
   (adding one for hive-priv).
2026-06-03 00:33:15 +02:00
..
hive-c0re.nix fix(#702): spare agent creds from migration chown; give nix a writable HOME 2026-06-03 00:33:15 +02:00
hive-ci.nix fix(#981): validate runner credentials on every boot, purge stale .runner 2026-06-02 00:27:47 +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 fix(#1052): use systemctl reload nginx instead of systemd-run 2026-06-02 01:00:48 +02:00
hive-matrix.nix fix(#1061): suppress tuwunel default displayname suffix 2026-06-02 11:18:38 +02:00
hive-network.nix chore: scrub issue/PR cookies from gateway + network nix modules and gateway_nginx.rs 2026-05-31 23:09:46 +02:00