Patrick Bamford scored his first goal for Derby and the only goal of the game as the Rams defeated Brighton 1-0 in the Championship at the iPro Stadium.