diff --git a/README.md b/README.md index 171d45ab..9c9dc415 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,32 @@ brew install sniffnet +
+ + from Nixpkgs + + You can install [Sniffnet Nix package](https://search.nixos.org/packages?channel=23.05&show=sniffnet&from=0&size=50&sort=relevance&type=packages&query=sniffnet) adding the following Nix code to your NixOS Configuration, usually located in `/etc/nixos/configuration.nix`: + + ```nix + environment.systemPackages = [ + pkgs.sniffnet + ]; +``` + + Alternatively, you can install it in your home using [Home Manager](https://github.com/nix-community/home-manager) with: + + ```nix + home.packages = [ + pkgs.sniffnet + ]; +``` + + Alternatively, you can try it in a shell with: + ```sh +nix-shell -p sniffnet +``` + +