Nix wrapper, inspired from nh
- Nice ui thanks to nix-output-monitor and nvd
- Enhance some of the
nix
commands: because who wants to writenixpkgs#
each time trying a package? - Opinionated API: but when we think about it, aren't every API opinionated in some way?
To use it with Nix, you just have to run one command
nix shell github:polnio/nw
Replace shell
with run
or build
depending on your needs. And if you add it in the environment.systemPackages
of your configuration.nix
, you will get the man page and completions for bash, zsh and fish for free
Like every rust project should, you can build it with one cargo
command
cargo build --release
Then add it in your PATH
in any way you want.
Because I find the nix
command aweful. Because nh
, despite being very good, doesn't fit my workflow. And, of course, because I could do it.
- Thanks to nh for the inspiration, and for some part of the code (especially for the searching part)
- Thanks to nix-output-monitor and nvd for the ui
- Thanks to nix-index for the
locate
feature