[NixOS] Add ns function for incrementally searching through nixpkgs

This commit is contained in:
Ivan Malison 2024-08-04 22:21:13 -06:00
parent ddb4a257cf
commit b8f2452d11
2 changed files with 12 additions and 3 deletions

7
dotfiles/lib/functions/ns Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
function nr {
sk --ansi -i -c 'nix-search "{}"' | get_cols 1
}
nr "$@"

View File

@ -5,6 +5,7 @@
environment.systemPackages = with pkgs; [
automake
bazel
bento4
bind
binutils
cachix
@ -16,13 +17,12 @@
emacs
fd
ffmpeg
bento4
file
gawk
gcc
gdb
git-lfs
git-fame
git-lfs
git-sync
gitFull
glxinfo
@ -42,6 +42,7 @@
neofetch
neovim
nix-index
nix-search-cli
pass
patchelf
pciutils
@ -51,8 +52,9 @@
rcm
ripgrep
silver-searcher
sysz
skim
sshfs
sysz
tmux
tzupdate
udiskie