Ultimately, it’s Geralt’s abilities and the love and blood of the vampiric bruxa that breaks Nivellen’s curse, turning him back into a man.
The bruxa, who was Nivellen’s lover, dies at the hands of Geralt’s silver sword.
Nivellen quickly realized that bringing women to his manor and getting them to fall in love with him wouldn’t break the curse, so he learned to accept his circumstances.