Easily search and enter shell of any valid package provider!
Nixpkgs searching script with fzf. Lets you easily search and enter shell of a package without having to look it up on nixpkgs search.
Depending on your system:
nix run github:xav-ie/dots#packages.x86_64-linux.searcher
nix run github:xav-ie/dots#packages.aarch64-darwin.searcher
This will search all of nixpkgs and output fzf list of all of them. Hitting enter on a result will enter you into a shell of that package.
searcher
This will search all of nixpkgs with your query and output fzf list of all of them. Hitting enter on a result will enter you into a shell of that package.
searcher query_without_spaces
This will search all of nixpkgs with your query and output fzf list of all of them. Hitting enter on a result will enter you into a shell of that package.
searcher nixpkgs query with spaces
Basically, to use spaces in your search, you need to specify where to search. You can search other places too:
searcher nixpkgs/21.05 query with spaces
I recommend adding this to your NixOS flake if you want to use this long term:
# ...
inputs = {
xav-ie.url = "github:xav-ie/dots";
};
# ...
Then, in your zsh’s `initExtra` code:
# ...
pkgs = with pkgs; [
# ...
# ...
# ...
] ++ [
inputs.xav-ie.packages.${pkgs.system}.zellij-tab-name-update
];
# ...
This is untested, so please open issue if you have problems!