I have never tried the Debian release for the gemini, but maybe it includes a matching keymap which could just be copied over to the flatpak install?