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 signal-desktop
dhall dhall
nixpkgs-fmt nixpkgs-fmt
manix
] ]

View file

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