Are retirement funds used to purchase a first home tax deductible?  Also, does it matter if it is a total purchase or down payment?

Thank you,

0 Cheers