rename(162): nixosConfigurations.manager -> root, hive-m1nd -> hive-root

This commit is contained in:
damocles 2026-06-01 16:59:28 +02:00 committed by mara
commit 1b4e9d0e2b

View file

@ -448,10 +448,10 @@ where
out.push_str( out.push_str(
r#" let r#" let
base = if isManager base = if isManager
then hyperhive.nixosConfigurations.manager then hyperhive.nixosConfigurations.root
else hyperhive.nixosConfigurations.agent-base; else hyperhive.nixosConfigurations.agent-base;
input = inputs."agent-${name}"; input = inputs."agent-${name}";
service = if isManager then "hive-m1nd" else "hive-ag3nt"; service = if isManager then "hive-root" else "hive-ag3nt";
parentEnv = if parent == null then {} else { HIVE_PARENT = parent; }; parentEnv = if parent == null then {} else { HIVE_PARENT = parent; };
toolGroupsEnv = if toolGroups == null then {} else { HIVE_TOOL_GROUPS = toolGroups; }; toolGroupsEnv = if toolGroups == null then {} else { HIVE_TOOL_GROUPS = toolGroups; };
in in
@ -461,7 +461,7 @@ where
{ {
# The harness service inside the container runs as a # The harness service inside the container runs as a
# non-root unix user named after the agent (`damocles`, # non-root unix user named after the agent (`damocles`,
# `iris`, `hm1nd`, ). UID auto-assigned by NixOS; the # `iris`, `root`, ). UID auto-assigned by NixOS; the
# per-agent override here is what makes # per-agent override here is what makes
# `hyperhive.user.name` match the agent's identity # `hyperhive.user.name` match the agent's identity
# instead of the harness-base default of `"agent"`. # instead of the harness-base default of `"agent"`.