How do I file a New Mexico non resident state return for a installment loan? I live out of state, do I allocate the interest from the installment payment to New Mexico?

I sold a rental property in New Mexico using the installment method in 2017. I am no longer a resident of NM. When filing a non resident return in NM, I know I need to include the capital gain. Do I allocate the Interest from the installment payments to New Mexico?

Thanks!