Nasi means rice while bami or bakmi means noodles. They are both pretty similar dishes and have the same seasoning, just one with rice and the other with noodles.