Watch
0
0
Fork
You've already forked hyperhive
0

docs: per-agent options page picks services.hyperhive.agent, and fails the eval if it goes empty

the page picked the top-level hyperhive attr, which stopped existing when the
agent namespace moved under services.hyperhive.agent, so it rendered no
options. the pick now uses the new root and asserts model, user.privateUsers
and nixBuilds are present. the acp preset submodule options get the
descriptions the now-rendered page requires.

Closes #6136
This commit is contained in:
atlas 2026-11-06 20:14:23 +01:00 • committed by mara
commit c490c72413

View file

@ -296,14 +296,19 @@ in
type = lib.types.attrsOf (
lib.types.submodule {
options = {
command = lib.mkOption { type = lib.types.str; };
command = lib.mkOption {
type = lib.types.str;
description = "Executable that speaks ACP over stdio.";
};
args = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = "Arguments passed to `command`.";
};
env = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
default = { };
description = "Environment for this preset only, rendered into the nix store.";
};
};
}