parent
0fc77df1a9
commit
8e09f8360a
47 changed files with 98 additions and 1026 deletions
|
|
@ -11,14 +11,7 @@ let
|
|||
hiveCfg = config.services.hyperhive;
|
||||
in
|
||||
{
|
||||
# The swarm's display name lives under `swarm`, with the other
|
||||
# swarm-global settings; the hive's own name and domain are top-level,
|
||||
# because they describe this hive rather than the swarm it joins.
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule
|
||||
[ "services" "hyperhive" "swarmName" ]
|
||||
[ "services" "hyperhive" "swarm" "name" ]
|
||||
)
|
||||
(lib.mkRemovedOptionModule [ "services" "hyperhive" "ruthless" ] ''
|
||||
hive-c0re no longer creates ruth at boot. Remove this definition, and create
|
||||
ruth from the swarm dashboard like any other agent; a ruth container that
|
||||
|
|
@ -205,11 +198,11 @@ in
|
|||
example = false;
|
||||
description = ''
|
||||
Hive-wide switch for the per-agent GitHub integration (the `gh` CLI
|
||||
wrapper + git credential helper, per `hyperhive.github.enable`). On by
|
||||
wrapper + git credential helper, per `services.hyperhive.agent.github.enable`). On by
|
||||
default: every agent gets the integration, inert until an operator links
|
||||
a PAT for it in the swarm UI. Set `false` to turn it off for the whole hive --- the
|
||||
meta-flake renderer (`hive-c0re/src/meta.rs`) then injects
|
||||
`hyperhive.github.enable = false` into every agent. Exposed to hive-c0re
|
||||
`services.hyperhive.agent.github.enable = false` into every agent. Exposed to hive-c0re
|
||||
as `HYPERHIVE_GITHUB_DISABLED` (set only when the integration is off).
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue