The state of New Mexico is receiving millions of dollars from the federal government to fund efforts to combat homelessness.