That is so exciting! The type of policy you will need is actually dependent on whether or not you will be living there. Since your home will be owner-occupied, a standard homeowners policy will work for you. If you did not live in the home and rented out both spaces, you would need a landlord policy.
When you make upgrades to the home, the rental space included, make sure to tell your insurance agent so that your policy has enough coverage. You will want to make sure that when your tenant moves in, they get their own policy for their personal property. Their property and liability is not covered by your policy.