I believe I solved this problem before, but I can’t find the solution again. I have some Flatpaks installed on my NixOS system, but they aren’t showing up in the app menu. Does anyone know what might be causing this or how to fix it?
I’m ignoring this problem, myself, right now.
Whenever I run certain flatpak commands, it nags me about a setting I haven’t bothered with yet.
I would share that message, but I’ve been ignoring it.
Did you restart?
Yes, I did restart afterwards, and unfortunately it didn’t work.
Does the flatpak stuff show up in your path? Wha’ts yhour nix code for flatpaks looks like?
I honestly just did nix-env -i flatpak then rebooted, so I’m not sure…
Edit: Did it the configuration.nix way to make sure everything was in the path, and it works now. Thanks!
nix-env
should be avoided, it is bad. I wish it were not in the docs so much. If you need a package for a short time, usenix-shell
ornix shell
.Glad you got it working tho.
I use a declarative flatpak flake that lets me install flatpaks declaratively. You could use this as well, in case you want to manage the flatpaks in your configuration.
Please share this if you don’t mind.
There are a few out there, but this is the one I use by GermanBread: https://github.com/GermanBread/declarative-flatpak
Edit: this is probably worth making its own post about
Thanks. I’d certainly like it if you posted it. more Nix = more better. :)