feat(jsonschema): add test for attrsof submodule
This commit is contained in:
@@ -40,6 +40,14 @@
|
||||
albrecht = 3;
|
||||
};
|
||||
};
|
||||
# attrs of submodule
|
||||
userModules = lib.mkOption {
|
||||
type = lib.types.attrsOf (
|
||||
lib.types.submodule {
|
||||
options.foo = lib.mkOption { };
|
||||
}
|
||||
);
|
||||
};
|
||||
# list of str
|
||||
kernelModules = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
|
||||
Reference in New Issue
Block a user