diff --git a/README.md b/README.md index dd91b817..b27725da 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ choco install croc winget install schollz.croc ``` -### On Unix +### Using nix-env You can install the latest release with [Nix](https://nixos.org/): @@ -76,6 +76,16 @@ You can install the latest release with [Nix](https://nixos.org/): nix-env -i croc ``` +### On NixOS + +You can add this to your [configuration.nix](https://nixos.org/manual/nixos/stable/#ch-configuration): + +```nix +environment.systemPackages = [ + pkgs.croc +]; +``` + ### On Alpine Linux First, install dependencies: