From 1e59de2768aaabc3009615f0b00f183fff5fd9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20=C5=9Anie=C5=BCek?= Date: Wed, 24 Jan 2024 10:02:33 +0100 Subject: Add NixOs installation instructions README.md Extend README.md with instructions on how to try and install the lazygit on NixOs. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 4d2885e10..ea8ae2bc7 100644 --- a/README.md +++ b/README.md @@ -345,6 +345,20 @@ sudo zypper ar https://download.opensuse.org/repositories/devel:/languages:/go/$ sudo zypper ref && sudo zypper in lazygit ``` +### NixOs + +On NixOs lazygit is packaged with nix and distributed via nixpkgs. +You can try the lazygit without installing it with: + +```sh +nix-shell -p lazygit +# or with flakes enabled +nix run nixpkgs#lazygit +``` + +Or you can add lazygit to you configuration.nix in the environment.systemPackages section. +More details can be found via NixOs search [page](https://search.nixos.org/). + ### FreeBSD ```sh -- cgit v1.2.3