From 5abedde5dbaea290e68a0efa9554379bc4e2638c Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Mon, 28 Oct 2019 12:34:16 +0000 Subject: [PATCH] Added installation instructions for NixOS/nix --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 411a542..ab2bdd0 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,23 @@ via [Homebrew](https://brew.sh/): brew install lsd ``` +### On NixOS/From nix + +```sh +nix-env -iA nixos.lsd +``` + +Or add `lsd` to your `configuration.nix` like so: + +```nix +# ... +environment.systemPackages = with pkgs; [ + # other packages ... + lsd +]; +# ... +``` + ### From Sources With Rust's package manager cargo, you can install lsd via: