From fadeb03f842f78116c125417f94e12db158ada1f Mon Sep 17 00:00:00 2001 From: Brook <88465473+Turmaxx@users.noreply.github.com> Date: Sun, 16 Nov 2025 14:31:47 +0300 Subject: [PATCH] Update Nix/NixOS installation instructions (#5591) Corrected spelling errors and updated installation instructions for Nix/NixOS. --- doc/020_installation.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/020_installation.rst b/doc/020_installation.rst index c6f368f21..60908116a 100644 --- a/doc/020_installation.rst +++ b/doc/020_installation.rst @@ -108,13 +108,15 @@ You may also install it using `MacPorts `__: Nix & NixOS =========== -If you are using `Nix / NixOS `__ -there is a package available named ``restic``. -It can be installed using ``nix-env``: +If you are using `Nix / NixOS `__, +there is a package named ``restic`` avaliable in `nixpkgs `__. +You can install it by adding this to your ``configuration.nix``: .. code-block:: console - $ nix-env --install restic + environment.systemPackages = [ + pkgs.restic + ]; OpenBSD =======