Your nationality is considered based on the passport that you send to the Iranian MFA to get the reference code. So if you have a dual nationality, you do not need to mention you have been living in US permanently. Use your European passport and choose an embassy in Europe or in Asia for collecting your visa. Contact Iran Travel Service for more help on completing the visa form. There is a higher chance of rejection if you do not know how to complete the form.