Nanohertz gravitational waves—a new probe of the matter distribution of Milky way galaxy