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