Hairgrass is not an easy plant in my experience. Did very well with soil base for me.
It might also prefer cooler temps and virtually no light as it grew very well over winter in a murky bucket of water. Far better than my tank
I have no real advice other than I suspect it prefers a nutrient dense substrate.