move c0re.hyperhiveFlake to deploy.hyperhiveFlake
This commit is contained in:
parent
76de27fc97
commit
70538fb209
1 changed files with 39 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue