feature(nixvim): pin nixvim to nixpkgs to suppress the non-default warning

This commit is contained in:
2026-06-15 10:54:35 +02:00
parent 098b92ae45
commit 47fb9e7f97
+6
View File
@@ -4,6 +4,12 @@
programs.nixvim = {
enable = true;
# We keep `inputs.nixvim.inputs.nixpkgs.follows = "nixpkgs"` in flake.nix so
# the whole config shares a single nixpkgs. Setting `source` explicitly to
# that same nixpkgs acknowledges the override and silences nixvim's warning
# about its pinned nixpkgs being bypassed.
nixpkgs.source = inputs.nixpkgs;
# set aliases
viAlias = true;
vimAlias = true;