Add instruction on how to install restic using Nix

This commit is contained in:
Pascal Bach 2017-09-27 22:37:43 +02:00 committed by Pascal Bach
parent 1ee1559506
commit 97330ac621

View file

@ -15,15 +15,26 @@ If you are using Mac OS X, you can install restic using the
$ brew tap restic/restic
$ brew install restic
archlinux
~~~~~~~~~
Arch Linux
~~~~~~~~~~
On archlinux, there is a package called ``restic-git`` which can be
On `Arch Linux <https://www.archlinux.org/>`__, there is a package called ``restic-git`` which can be
installed from AUR, e.g. with ``pacaur``:
.. code-block:: console
$ pacaur -S restic-git
Nix & NixOS
~~~~~~~~~~~
If you are using `Nix <https://nixos.org/nix/>`__ or `NixOS <https://nixos.org/>`__
there is a package available named ``restic``.
It can be installed uisng `nix-env`:
.. code-block:: console
$ nix-env --install restic
Pre-compiled Binary
-------------------