We investigate the behavior of the spectral weight near the Fermi level of NdNiO3 thin films as a function of temperature across the metal-to-insulator transition (MIT) by means of ultraviolet photoelectron spectroscopy. The spectral weight was found to exhibit thermal hysteresis, similar to that of the dc conductivity. A detailed analysis of the temperature dependence reveals two distinct regimes of spectral loss close to the Fermi level. The temperature evolution of one regime is found to be independent from the MIT.