diff options
author | Radosław Śnieżek <radoslaw.sniezek@protonmail.com> | 2024-01-24 10:02:33 +0100 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-03-19 12:32:13 +0100 |
commit | 1e59de2768aaabc3009615f0b00f183fff5fd9a5 (patch) | |
tree | edc2c5dc56bf4cd9ca0ff5128dec9ff0cf64f3a5 /README.md | |
parent | 1d4448d691857685d56db0bf371fcbccc20f8dbb (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.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |