Skip to content

Commit

Permalink
Merge pull request #394 from clr-cera/Nix-Package-Documentation
Browse files Browse the repository at this point in the history
Nix Package Documentation
  • Loading branch information
GyulyVGC authored Oct 29, 2023
2 parents 11a8aa8 + 60648e3 commit a030b6b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,32 @@ brew install sniffnet

</details>

<details>

<summary>from Nixpkgs</summary>

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
```

</details>

<details>

Expand Down

0 comments on commit a030b6b

Please sign in to comment.