Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix Package Documentation #394

Merged
merged 2 commits into from
Oct 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading