From 47fb9e7f97ee6b0bc92747c3b7dbfeb8fd94e9be Mon Sep 17 00:00:00 2001 From: aaron Date: Mon, 15 Jun 2026 10:54:35 +0200 Subject: [PATCH] feature(nixvim): pin nixvim to nixpkgs to suppress the non-default warning --- modules/home-manager/nixvim.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home-manager/nixvim.nix b/modules/home-manager/nixvim.nix index 612baba..93e6702 100644 --- a/modules/home-manager/nixvim.nix +++ b/modules/home-manager/nixvim.nix @@ -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;