Skip to content

Commit

Permalink
minor changes to nix package documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC authored Oct 29, 2023
1 parent 5b3568c commit 60648e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,23 +125,23 @@ brew install sniffnet

<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) in your system with:
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
];
```

You can install it in your home using [Home Manager](https://github.com/nix-community/home-manager) with:
Alternatively, you can install it in your home using [Home Manager](https://github.com/nix-community/home-manager) with:

```nix
home.packages = [
pkgs.sniffnet
];
```

You can install it in a shell with:
Alternatively, you can try it in a shell with:
```sh
nix-shell -p sniffnet
```
Expand Down

0 comments on commit 60648e3

Please sign in to comment.