Skip to content

Commit 4b24af8

Browse files
authored
Merge pull request #941 from Wyfi0/patch-1
Update README.md
2 parents 1fe5d77 + a2c3037 commit 4b24af8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,24 @@ choco install croc
6868
winget install schollz.croc
6969
```
7070

71-
### On Unix
71+
### Using nix-env
7272

7373
You can install the latest release with [Nix](https://nixos.org/):
7474

7575
```bash
7676
nix-env -i croc
7777
```
7878

79+
### On NixOS
80+
81+
You can add this to your [configuration.nix](https://nixos.org/manual/nixos/stable/#ch-configuration):
82+
83+
```nix
84+
environment.systemPackages = [
85+
pkgs.croc
86+
];
87+
```
88+
7989
### On Alpine Linux
8090

8191
First, install dependencies:

0 commit comments

Comments
 (0)