readme: remove nixpkgs follows recommendation

This commit is contained in:
Semak12345 2026-07-13 07:12:39 +03:00 committed by Matt Sturgeon
parent 4ef28e447b
commit e6715f01d9

View file

@ -152,12 +152,15 @@ flakes, just add the `nixvim` input:
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
# If you are not running an unstable channel of nixpkgs, select the corresponding branch of 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"; # 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`, You can now access the module using `inputs.nixvim.homeModules.nixvim`,
for a Home Manager installation, `inputs.nixvim.nixosModules.nixvim`, for NixOS, for a Home Manager installation, `inputs.nixvim.nixosModules.nixvim`, for NixOS,
and `inputs.nixvim.nixDarwinModules.nixvim` for nix-darwin. and `inputs.nixvim.nixDarwinModules.nixvim` for nix-darwin.