nix-env --install <package> in a host terminal. package names can be found here - https://search.nixos.org/packagesnix-env --install brave only returns error: selector 'brave' matches no derivations However, if I do nix profile install nixpkgs#brave that installs brave. Then if I want to uninstall, I have to find what it's referred to by doing nix profile list |grep brave and on the basis of that do nix profile remove legacyPackages.x86_64-linux.brave. So I guess that's the right way to do it???? If anyone else has any recommendations, I'd love to hear.nix-env --install appnix-env --uninstall appnix-env --upgrade (optional: app)nix-collect-garbage -d
nix-env --install brave just yields error: selector 'brave' matches no derivations Am I putting in the wrong package name? Based on https://search.nixos.org/packages?channel=23.05&show=brave&from=0&size=50&sort=relevance&type=packages&query=brave I'm not sure what else to specify.
nix-env --install brave toonix-channel --update
nix-channel --add https://nixos.org/channels/nixos-unstable unstable and then nix-channel --updatenix-env --install brave works.nix-env instead use nix profilenix profile install nixpkgs#brave did initially work for me. So that's the preferred method of installing?nix-env --install <package>nix-env --install bravenix-env --install bravenix-env --install bravenix-env --install braveerror: selector 'brave' matches no derivationserror: selector 'brave' matches no derivationsnix profile install nixpkgs#bravenix profile install nixpkgs#bravenix profile list |grep bravenix profile remove legacyPackages.x86_64-linux.bravenix-env --install appnix-env --uninstall appnix-env --upgrade (optional: app)nix-collect-garbage -dnix-channel --updatenix-channel --updatenix-channel --add https://nixos.org/channels/nixos-unstable unstablenix-envnix profile