nixos-config/modules/nixvim/_private/extra-arguments.nix

12 lines
336 B
Nix

# All of the extra module arguments to be passed as part of NixVim module.
{ options, config, lib, pkgs, ... }:
let
foodogsquaredLib = import ../../../lib { inherit pkgs; };
in
{
_module.args.foodogsquaredLib =
foodogsquaredLib.extend (final: prev:
import ../../../lib/nixvim.nix { inherit config pkgs; lib = prev; });
}