minor changes to nix package documentation

This commit is contained in:
Giuliano Bellini 2023-10-29 10:03:38 +01:00 • committed by GitHub
parent 5b3568ca64
commit 60648e3396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ 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 = [
@ -133,7 +133,7 @@ brew install 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 = [
@ -141,7 +141,7 @@ brew install sniffnet
];
```
You can install it in a shell with:
Alternatively, you can try it in a shell with:
```sh
nix-shell -p sniffnet
```