Skip to content

polnio/nw

Repository files navigation

nw

Nix wrapper, inspired from nh

What?

  • Nice ui thanks to nix-output-monitor and nvd
  • Enhance some of the nix commands: because who wants to write nixpkgs# each time trying a package?
  • Opinionated API: but when we think about it, aren't every API opinionated in some way?

How?

Nix

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

Cargo

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.

Why?

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 a lot!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published