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