# Pastebin WNvnlSqx hi say i added an option in some module options = { prefix.myoption = mkOption { default = ""; description = ""; type = types.string; }; }; then it's simple to copy it in another module like this options = { prefix2.myoption = options.prefix.myoption; }; but how to copy the option from this? options = { prefix.myoptions = mkOption { default = {}; description = ""; type = types.attrsOf (types.submodule { options = { myoption = mkOption { default = ""; description = ""; type = types.string; }; }; }); }; };