From 04fddf67d727299cb8e2112431ae2d08b293f245 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Mon, 20 May 2024 11:21:29 +0100 Subject: [PATCH] doc: nixos.md: Added a link to the NixOS test suite. --- .../setup/installation/operating-systems/nixos.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/website/content/en/docs/setup/installation/operating-systems/nixos.md b/website/content/en/docs/setup/installation/operating-systems/nixos.md index c06cf2a9aaa0c..119850239c9c0 100644 --- a/website/content/en/docs/setup/installation/operating-systems/nixos.md +++ b/website/content/en/docs/setup/installation/operating-systems/nixos.md @@ -110,6 +110,14 @@ Vector is granted access to log files which belong to [Caddy][caddy]: }; ``` +Other integration examples may be found at the +[NixOS test suite for Vector][nixos-tests-vector]. These can also be run on a +system with Nix with a local copy of the `nixpkgs` repo by executing: + +```shell +nix-build -A nixosTests.vector +``` + See also the [Nix] package page. ## Supported installers @@ -117,7 +125,8 @@ See also the [Nix] package page. {{< supported-installers >}} [caddy]: https://caddyserver.com +[nix]: /docs/setup/installation/package-managers/nix [nixos]: https://www.nixos.org -[nixpkg-vector]: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/logging/vector.nix [nixos-search]: https://search.nixos.org/options?query=services.vector -[nix]: /docs/setup/installation/package-managers/nix +[nixos-tests-vector]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/vector.nix +[nixpkg-vector]: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/logging/vector.nix