Nyx is related to Hades in the way that their family tree consists of four or five generations, and that's basically it. She is one of the remaining primordial deities and the sister of Gaia, who is the mother of Rhea, who is Hades' mother. This would make Nyx Hades's grandaunt.