1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-15 14:03:06 +02:00

Add NixOs installation instructions README.md

Extend README.md with instructions on how to try and install
the lazygit on NixOs.
This commit is contained in:
Radosław Śnieżek 2024-01-24 10:02:33 +01:00 committed by Stefan Haller
parent 1d4448d691
commit 1e59de2768

View File

@ -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