feature(nixvim): pin nixvim to nixpkgs to suppress the non-default warning
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user