A nice person could be a person who smokes weed, does illegal things, but is genuinly kind. Like my uncle went to jail for making meth, but does charity work now and helps homeless people by making food in soup kitchens.
A good person might not be nice, but does not do drugs or anything illegal. They might go to church and believe in god, but they do not have to be nice.
Nice > Good.