2020-09-02 22:34:13 +02:00
|
|
|
{ lib, ... }: {
|
|
|
|
|
|
|
|
options.foo = lib.mkOption {
|
|
|
|
default = { bar = {}; };
|
|
|
|
type = lib.types.attrsOf (lib.types.submodule {
|
2020-11-30 20:04:03 +01:00
|
|
|
_module.checks.test = {
|
2020-09-02 22:34:13 +02:00
|
|
|
enable = true;
|
|
|
|
message = "Assertion failed";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|