Heat oil or ghee in a large heavy-bottomed pot. Add the sliced onions and cook until golden brown.
Add the beef pieces and ginger-garlic paste. Sauté until the beef changes color.
Add the nihari spice mix, red chili powder, turmeric, coriander powder, and salt. Stir well to coat the beef with the spices.
Add enough water to cover the beef. Bring to a boil, then cover and simmer over low heat until the beef becomes tender, about 3 to 4 hours.
In a separate bowl, mix the wheat flour with water until smooth, making sure there are no lumps.
Slowly pour the flour mixture into the pot while stirring continuously to prevent lumps from forming.
Simmer for another 20 to 30 minutes, stirring occasionally, until the gravy becomes thick and rich.
Taste and adjust the salt and spices as needed. Add a little water if the gravy is too thick.
Serve hot, garnished with fresh ginger, chopped cilantro, sliced green chilies, and lemon wedges. Enjoy with naan or paratha.