core: add manix and nix-index

This commit is contained in:
Timothy DeHerrera 2020-12-16 14:48:40 -07:00
parent 01fe191210
commit 993a79e61e
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
2 changed files with 6 additions and 0 deletions

View File

@ -11,4 +11,5 @@ with pkgs;
signal-desktop
dhall
nixpkgs-fmt
manix
]

View File

@ -24,6 +24,8 @@ in
gptfdisk
iputils
jq
manix
nix-index
moreutils
nmap
ripgrep
@ -67,6 +69,9 @@ in
nf = "n flake";
srch = "ns nixpkgs";
nrb = ifSudo "sudo nixos-rebuild";
mn = ''
manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | sk --preview="manix '{}'" | xargs manix
'';
# sudo
s = ifSudo "sudo -E ";