How do I configure nnn plugins via home-manager?

Here is my current nnn configuration in home.nix

 programs = {
       nnn = {
        package = unstable.nnn;
	enable  = true;
	plugins.src = (pkgs.fetchFromGitHub {
			  owner = "jarun";
			  repo = "nnn";
			  rev = "v5.0";
			  sha256 = "sha256-HShHSjqD0zeE1/St1Y2dUeHfac6HQnPFfjmFvSuEXUA=";
			}) + "/plugins";
	plugins.mappings = { j = "autojump"; p = "preview-tui"; };
	};
  };

I’d like to modify some of the plugins and then use them,is it possible to do it via home-manager?
For instance, I’d like to modify the LIST variable in the fzcd plugin here.

So what you could do if the plugin cannot be configured with Home Manager, is that you write the Config file and put it into your home directory in the specific place with home.file:

  home.file = {
    ".config/lvim/config.lua".source = ./programs/lvim/config.lua;
    ".config/ghostty/config".source = ./programs/ghostty/config;
  };  

Edit:
You will encounter the issue that the service home manger cannot be started. That is because of a conflict with the existing file. To resolve that just delete the file, which you are trying to write.