3 inherit (lib) types mkOption;
11 options.mergedName = mkOption {
13 type = types.attrsWith {
14 placeholder = "id"; # <- This is beeing tested
15 elemType = types.submodule {
16 options.nested = mkOption {
29 # defines the default placeholder "name"
30 # type merging should resolve to "id"
31 options.mergedName = mkOption {
32 type = types.attrsOf (types.submodule { });
44 options.result = mkOption {
45 default = lib.concatStringsSep "." (options.mergedName.type.getSubOptions options.mergedName.loc)