This may not be the most elegant and/or efficient way of migrating your packages and configs to a new install but it gets the job done.
Note that this assunes that you will be installing with the same DE. If not restore .files and .dot folders on a per case basis for DE agnostic applications and not those related to DE.