How to disable hdmi i2s and add overlay for hifiberry?

how can i disable the hdmi i2s and is it possible to load the hifiberry digi+ device overlay?

i’m new to overlays, i’m trying with: https://gist.github.com/yannick/863aa86cbd387251074eca5bcd621e90
but the card is not recognized.
any help appreciated