move c0re.hyperhiveFlake to deploy.hyperhiveFlake
This commit is contained in:
parent
76de27fc97
commit
70538fb209
1 changed files with 39 additions and 24 deletions
|
|
@ -1,10 +1,9 @@
|
|||
# Option declarations for the c0re daemon. `services.hyperhive.c0re.*`
|
||||
# keeps the flake-source option the swarm builder also reads
|
||||
# (`hyperhiveFlake`); every other knob and the
|
||||
# Option declarations for the c0re daemon. The knobs and the
|
||||
# package/asset options the flake's `nixosModules.default` wires to its
|
||||
# own outputs (they carry no in-module defaults; see ../../../flake.nix)
|
||||
# live under `services.hyperhive.deploy.hive-controller`, alongside the
|
||||
# values the meta-flake render hands the hive's agents. The read-only
|
||||
# values the meta-flake render hands the hive's agents. The flake-source
|
||||
# option the swarm builder also reads is `services.hyperhive.deploy.hyperhiveFlake`. The read-only
|
||||
# `servedFrontend` option lives in ./theme.nix with the stylix wiring
|
||||
# that computes it.
|
||||
{
|
||||
|
|
@ -22,17 +21,18 @@
|
|||
'')
|
||||
];
|
||||
|
||||
options.services.hyperhive.c0re = {
|
||||
hyperhiveFlake = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
defaultText = lib.literalMD "the hyperhive flake's own filtered source store path";
|
||||
description = ''
|
||||
Store path of the hyperhive flake source (no fragment). hive-c0re
|
||||
reads it to tell which revision is running, and the swarm builder
|
||||
builds on it. Wired by `nixosModules.default` to this flake's own
|
||||
filtered source.
|
||||
'';
|
||||
};
|
||||
# One host-level value that both hive-c0re and the swarm builder read, so it
|
||||
# sits under neither service.
|
||||
options.services.hyperhive.deploy.hyperhiveFlake = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
internal = true;
|
||||
defaultText = lib.literalMD "the hyperhive flake's own filtered source store path";
|
||||
description = ''
|
||||
Store path of the hyperhive flake source (no fragment). hive-c0re
|
||||
reads it to tell which revision is running, and the swarm builder
|
||||
builds on it. Wired by `nixosModules.default` to this flake's own
|
||||
filtered source.
|
||||
'';
|
||||
};
|
||||
|
||||
# The hive-controller's deployment options.
|
||||
|
|
|
|||
Loading…
Reference in a new issue