Using plugins not packaged in nixpkgs for NixVim

yes, I have referred this FAQ - nixvim docs, the error (refer last code block) still exists.
I imported NixVim module for my configuration.nix as

let
   nixvim = import (builtins.fetchGit {
   url = "https://github.com/nix-community/nixvim";
   });
in
{
   imports = [
      ./hardware-configuration.nix
      <home-manager/nixos> # using Home-manager as NixOS module
      nixvim.nixosModules.nixvim # using NixVim as NixOS module
      ./nixVim # Importing NixVim configuration
   ];

I also enabled NixVim like this :

# Enabling NixVim
   programs.nixvim = {
      enable = true;
      vimAlias = true;
      viAlias = true;
      defaultEditor = true;
   };

I overlayed neovim like this:

  # Overlaying Neovim
   nixpkgs.overlays = [
      (import (builtins.fetchTarball {
         url = "https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz";
      }))
   ];

The file structure of the imported ./nixVim folder is as visible in the attached screenshot.
The default.nix has the following contents:

{
   # Import all your configuration modules here
   imports = [
      ./extraPlugins.nix
      ./plugins.nix
      ./options.nix
      ./keymaps.nix
   ];
}

I’m trying to get the vim-cmake plugin (GitHub - cdelledonne/vim-cmake: Vim/Neovim plugin for working with CMake projects) working for nixvim by adding this to my extraPlugins.nix:

{ config, pkgs, ... }: 
let
   vim-cmake =  pkgs.vimUtils.buildVimPlugin {
      name = "vim-cmake";
      src = pkgs.fetchFromGitHub {
         owner = "cdelledonne";
         repo = "vim-cmake";
         rev = "9ab902ab5db7a3924d24542653e495ffda25e5ca";
         hash = "sha256-0EC1ZYjDN0t7UcKH4sYxz9AYCWLMgd/+emckA9Rln8s=";
      };
   };
in{   
   programs.nixvim = {
      extraPlugins = 
         # For plugins already packaged as nixpkgs
         with pkgs.vimPlugins; [
            plenary-nvim
            vim-tmux-navigator
            vim-cmake
      ];
   };
}

I am greeted with this error at every neovim startup:

Error detected while processing /nix/store/wmgm2wvfak4fihfc8zffxcsjd6ncrpzy-vimplugin-vim-cmake/plugin/cma
ke.vim:
line   24:
E117: Unknown function: libs#logger#Get
line   32:
E121: Undefined variable: s:logger
E116: Invalid arguments for function libs#error#Get
line   33:
E121: Undefined variable: s:error
line   52:
E121: Undefined variable: s:logger
line   56:
E121: Undefined variable: s:error
line   62:
E121: Undefined variable: s:error
line   87:
E121: Undefined variable: s:logger
line  111:
E121: Undefined variable: s:logger
line  113:
E121: Undefined variable: s:logger
Press ENTER or type command to continue

I am not sure what is causing this error. I went through the plugin dependencies and I seem to already have all of them. Can anyone help?

PS: I included everything that may be relevant. Sorry if I included unnecessary details.
Screenshot from 2024-06-21 12-08-57