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

13 lines
366 B
Nix
Raw Normal View History

# All of the extra module arguments to be passed as part of NixVim module.
2024-02-25 14:27:05 +00:00
{ options, config, lib, pkgs, ... }:
let
2024-02-25 14:27:05 +00:00
foodogsquaredLib = import ../../../lib { inherit pkgs; };
in
{
_module.args.foodogsquaredLib =
foodogsquaredLib.extend (final: prev: {
nixvim = import ../../../lib/env-specific/nixvim.nix { inherit pkgs lib; self = final; };
});
}