Watch
0
0
Fork
You've already forked hyperhive
0

move c0re.hyperhiveFlake to deploy.hyperhiveFlake

This commit is contained in:
atlas 2026-10-29 14:31:20 +01:00
commit 70538fb209

View file

@ -11,8 +11,8 @@
...
}:
let
cfg = config.services.hyperhive.c0re;
controllerCfg = config.services.hyperhive.deploy.hive-controller;
hyperhiveFlake = config.services.hyperhive.deploy.hyperhiveFlake;
# `/run/hyperhive`'s mode. Held in one place because whichever of the two
# units below activates first creates the directory, so they cannot be
@ -81,7 +81,7 @@ let
# NOT trigger a startup sweep that rebuilds every agent — unless the
# c0re binary itself changes.
serveConfigJson = builtins.toJSON {
hyperhive_flake = cfg.hyperhiveFlake;
hyperhive_flake = hyperhiveFlake;
# The `claude-code` every agent runs, or null for "each agent keeps
# the one out of its own nixpkgs". `builtins.toJSON` serialises a