add instruction for nixpkgs
@@ -17,11 +17,11 @@ curl -sfL https://raw.githubusercontent.com/ducaale/xh/master/install.sh | sh
### via a package manager
| OS | Method | Command |
-|--------------|-----------|-------------------------|
+|----------------|-----------|-------------------------|
| Any | Cargo\* | `cargo install xh` |
-| Linux | Linuxbrew | `brew install xh` |
| Arch Linux | Pacman | `pacman -S xh` |
-| macOS | Homebrew | `brew install xh` |
+| Linux & macOS | Nixpkgs | `nix-env -iA nixpkgs.xh`|
+| Linux & macOS | Homebrew | `brew install xh` |
| macOS | MacPorts | `sudo port install xh` |
| Windows | Scoop | `scoop install xh` |
