[workstation user ~]% flatpak --user --verbose install flathub org.keepassxc.KeePassXC
F: Opening user flatpak installation at path /home/user/.local/share/flatpak
Looking for matches…
error: No remote refs found for ‘flathub’
zsh: exit 1 flatpak --user --verbose install flathub org.keepassxc.KeePassXC
[workstation user ~]%
--user remote-add is a must step and not well documented.
otherwise repository going to be on system wide/global (current default), and we have the other issue of not having this working at all in whonix/kicksecure environment.
To make it working, user must add the repo into user space only, and to do that he must use --user.