test for configuration passes, test for deployment wip

This commit is contained in:
Kiara Grouwstra 2025-07-03 20:31:26 +02:00
parent d185d5f94f
commit 4880766c59
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -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;
};
}; };
}; };
} }