2 options.dummy = lib.mkOption { type = lib.types.anything; default = {}; };
5 a = lib.types.attrsOf (lib.types.submodule { options.bar = lib.mkOption { }; });
7 # modifying types like this breaks type merging.
8 # This test makes sure that type merging is not performed when only a single declaration exists.
9 # Don't modify types in practice!
11 merge = loc: defs: { freeformItems = a.merge loc defs; };
13 config.foo.bar = "ok";