this post was submitted on 27 Sep 2024
12 points (92.9% liked)
Nix / NixOS
1762 readers
28 users here now
Main links
Videos
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.