Confusion about proper way to setup Flathub

which NixOS config are you using that flatpak still works?