forked from Fediversity/Fediversity
test for configuration passes, test for deployment wip
This commit is contained in:
parent
d185d5f94f
commit
4880766c59
1 changed files with 11 additions and 2 deletions
|
@ -108,8 +108,10 @@ in
|
||||||
module =
|
module =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
|
options = {
|
||||||
enable = lib.mkEnableOption "Hello in the shell";
|
enable = lib.mkEnableOption "Hello in the shell";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
implementation =
|
implementation =
|
||||||
cfg:
|
cfg:
|
||||||
lib.optionalAttrs cfg.enable {
|
lib.optionalAttrs cfg.enable {
|
||||||
|
@ -162,9 +164,16 @@ in
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit (fediversity) example-deployment;
|
inherit (fediversity)
|
||||||
|
example-configuration
|
||||||
|
example-deployment
|
||||||
|
;
|
||||||
};
|
};
|
||||||
expected = {
|
expected = {
|
||||||
|
example-configuration = {
|
||||||
|
enable = true;
|
||||||
|
applications.hello.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue