summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRadosław Śnieżek <radoslaw.sniezek@protonmail.com>2024-01-24 10:02:33 +0100
committerStefan Haller <stefan@haller-berlin.de>2024-03-19 12:32:13 +0100
commit1e59de2768aaabc3009615f0b00f183fff5fd9a5 (patch)
treeedc2c5dc56bf4cd9ca0ff5128dec9ff0cf64f3a5 /README.md
parent1d4448d691857685d56db0bf371fcbccc20f8dbb (diff)
Add NixOs installation instructions README.md
Extend README.md with instructions on how to try and install the lazygit on NixOs.
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
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