A Waterloo man has been sentenced to up to eight years in prison in connection with firearms found at his home in 2023.