Closed mmstick closed 2 years ago
The Nix system path takes priority over the system path, but below Flatpak and Snap system paths, and the local nix path takes priority over all system paths, but below local Flatpak/Snap/.local paths.
After I installed Firefox with Nix, I still see the Flatpak option below it in search results (which seems correct), but I don't see the system-installed Firefox in the results anymore:
Is this expected? I would think either I should see all of the Firefox versions (which I'd prefer), or else only one.
It is expected behavior because the Flatpak has a differing desktop ID from the debian and nix versions of it. The Flatpak uses org.mozilla.firefox
and both the debian and nix versions use firefox
.
The Nix system path takes priority over the system path, but below Flatpak and Snap system paths, and the local nix path takes priority over all system paths, but below local Flatpak/Snap/.local paths.
To install nix in a multi-user capacity (system-wide):
Then you can install an application per-user and see it installed at
~/.nix-profile/share/applications
.To install system-wide, switch to root and do the same and you'll find it installed in
/nix/var/nix/profiles/default/share/applications