feat(#2006): rename manageRootAgent option to ruthless (invert sense)
This commit is contained in:
parent
4fa17de387
commit
09603b77b9
2 changed files with 34 additions and 34 deletions
|
|
@ -187,22 +187,22 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
# Whether hive-c0re auto-manages the root/manager agent on startup
|
||||
# (create it if missing, restart it if present-but-stopped). Some hives
|
||||
# don't want a root agent auto-managed at all — see issue tracker
|
||||
# "scope concept: special agents".
|
||||
options.services.hyperhive.manageRootAgent = lib.mkOption {
|
||||
# Whether this hive runs "ruthless" — with no root/manager agent at all.
|
||||
# When true, hive-c0re skips the root-agent auto-management sweep (create
|
||||
# if missing, restart if present-but-stopped). Some hives don't want a
|
||||
# root agent at all — see issue tracker "scope concept: special agents".
|
||||
options.services.hyperhive.ruthless = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
example = false;
|
||||
default = false;
|
||||
example = true;
|
||||
description = ''
|
||||
Whether hive-c0re auto-manages the root (manager) agent on
|
||||
startup: creating its container when missing and restarting it
|
||||
when it's present but stopped. Defaults to `true` (the historical
|
||||
behaviour — the root agent was treated as required infrastructure).
|
||||
Set to `false` on hives that don't want a root agent at all;
|
||||
hive-c0re then skips the root-agent create/start sweep entirely.
|
||||
Exposed to hive-c0re as `HYPERHIVE_MANAGE_ROOT_AGENT`.
|
||||
Run this hive "ruthless" — with no root (manager) agent at all (no
|
||||
ruth). When `true`, hive-c0re skips the root-agent auto-management
|
||||
sweep entirely (it otherwise creates the root agent's container when
|
||||
missing and restarts it when present but stopped). Defaults to
|
||||
`false` (the historical behaviour — the root agent is auto-managed
|
||||
as required infrastructure). Exposed to hive-c0re as
|
||||
`HYPERHIVE_RUTHLESS`.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
@ -892,10 +892,10 @@ in
|
|||
# prompts). `hive_sh4re::assets::*` reads paths underneath.
|
||||
# `forge.rs` reads the avatar PNGs from here on startup.
|
||||
HIVE_ASSETS_DIR = "${cfg.assets}/share/hyperhive";
|
||||
# Whether hive-c0re auto-manages the root/manager agent on
|
||||
# startup (`auto_update::ensure_root_agent`). Default true =
|
||||
# historical behaviour; false makes the root-agent sweep a no-op.
|
||||
HYPERHIVE_MANAGE_ROOT_AGENT = lib.boolToString config.services.hyperhive.manageRootAgent;
|
||||
# Whether this hive runs ruthless — no root/manager agent at all
|
||||
# (`auto_update::ensure_root_agent`). Default false = historical
|
||||
# behaviour (root auto-managed); true makes the sweep a no-op.
|
||||
HYPERHIVE_RUTHLESS = lib.boolToString config.services.hyperhive.ruthless;
|
||||
}
|
||||
// lib.optionalAttrs (config.services.hyperhive.domain != null) {
|
||||
# Identity env vars threaded into c0re's own service env and
|
||||
|
|
|
|||
Loading…
Reference in a new issue