Configure encrypt and resume hooks for mkinitcpio

After searching in the forum, the post EndeavourOS Cassini with dracut does not configure hibernation - #6 by lorebett is what I was actually looking for. I have applied the recommended instructions for resume, however, my laptop never wakes up after suspending it. I guess I should post/ask directly in the other thread about how to debug this.