nixos-config/modules/nixvim/_private/extra-arguments.nix
2024-03-01 18:09:47 +08:00

13 lines
347 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: {
nixvim = import ../../../lib/nixvim.nix { inherit pkgs; lib = prev; };
});
}