From e6715f01d9f56f07a27a01386b85ae22b06f0705 Mon Sep 17 00:00:00 2001 From: Semak12345 <88731119+Semak12345@users.noreply.github.com> Date: Mon, 13 Jul 2026 07:12:39 +0300 Subject: [PATCH] readme: remove nixpkgs follows recommendation --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8c651bd..41ead5a2 100644 --- a/README.md +++ b/README.md @@ -152,12 +152,15 @@ flakes, just add the `nixvim` input: url = "github:nix-community/nixvim"; # If you are not running an unstable channel of nixpkgs, select the corresponding branch of Nixvim. # url = "github:nix-community/nixvim/nixos-26.05"; - - inputs.nixpkgs.follows = "nixpkgs"; }; } ``` +Nixvim is tested against its own Nixpkgs revision. We recommend not overriding +its `nixpkgs` input with `follows`; see the +[installation guide](https://nix-community.github.io/nixvim/user-guide/install.html#accessing-nixvim) +for details. + You can now access the module using `inputs.nixvim.homeModules.nixvim`, for a Home Manager installation, `inputs.nixvim.nixosModules.nixvim`, for NixOS, and `inputs.nixvim.nixDarwinModules.nixvim` for nix-darwin.