forked from pub-solar/os
core: add manix and nix-index
This commit is contained in:
parent
01fe191210
commit
993a79e61e
|
@ -11,4 +11,5 @@ with pkgs;
|
|||
signal-desktop
|
||||
dhall
|
||||
nixpkgs-fmt
|
||||
manix
|
||||
]
|
||||
|
|
|
@ -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 ";
|
||||
|
|
Loading…
Reference in a new issue