Update Nix/NixOS installation instructions (#5591)

Corrected spelling errors and updated installation instructions for Nix/NixOS.
This commit is contained in:
Brook 2025-11-16 14:31:47 +03:00 committed by GitHub
parent fc06a79518
commit fadeb03f84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,13 +108,15 @@ You may also install it using `MacPorts <https://www.macports.org/>`__:
Nix & NixOS
===========
If you are using `Nix / NixOS <https://nixos.org>`__
there is a package available named ``restic``.
It can be installed using ``nix-env``:
If you are using `Nix / NixOS <https://nixos.org>`__,
there is a package named ``restic`` avaliable in `nixpkgs <https://search.nixos.org/packages?query=restic>`__.
You can install it by adding this to your ``configuration.nix``:
.. code-block:: console
$ nix-env --install restic
environment.systemPackages = [
pkgs.restic
];
OpenBSD
=======