@3tom’s solution worked for me on ubuntu. All I needed was:
ln -s ~/.config/mimeapps.list ~/snap/obsidian/current/.config/mimeapps.list
I didn’t need to restart Obsidian or ubuntu, Obsidian links automatically started opening in the correct browser.