summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author06kellyjac <dev@j-k.io>2019-10-28 12:34:16 +0000
committerPierre Peltier <dev@halium.fr>2019-10-30 10:16:36 +0100
commit5abedde5dbaea290e68a0efa9554379bc4e2638c (patch)
tree681eddfdc314253d50268d18e2fa2d582b6e8885
parent225b642b1347acefd02208eaae6dbb2015b9c393 (diff)
Added installation instructions for NixOS/nix
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
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: