cluster/lib: introduce testConfig
This commit is contained in:
parent
8ec13f5c87
commit
0ed4870b65
1 changed files with 10 additions and 4 deletions
|
@ -1,9 +1,15 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options.simulacrum = lib.mkOption {
|
options = {
|
||||||
description = "Whether we are in the Simulacrum.";
|
simulacrum = lib.mkOption {
|
||||||
type = lib.types.bool;
|
description = "Whether we are in the Simulacrum.";
|
||||||
default = false;
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
testConfig = lib.mkOption {
|
||||||
|
type = lib.types.attrs;
|
||||||
|
readOnly = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue