mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-01-30 22:02:23 +00:00
36 lines
554 B
Nix
36 lines
554 B
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
check ? true,
|
||
|
}: let
|
||
|
modules = [
|
||
|
./completion
|
||
|
./theme
|
||
|
./core
|
||
|
./basic
|
||
|
./statusline
|
||
|
./tabline
|
||
|
./filetree
|
||
|
./visuals
|
||
|
./lsp
|
||
|
./treesitter
|
||
|
./tidal
|
||
|
./autopairs
|
||
|
./snippets
|
||
|
./keys
|
||
|
./markdown
|
||
|
./telescope
|
||
|
./git
|
||
|
];
|
||
|
|
||
|
pkgsModule = {config, ...}: {
|
||
|
config = {
|
||
|
_module.args.baseModules = modules;
|
||
|
_module.args.pkgsPath = lib.mkDefault pkgs.path;
|
||
|
_module.args.pkgs = lib.mkDefault pkgs;
|
||
|
_module.check = check;
|
||
|
};
|
||
|
};
|
||
|
in
|
||
|
modules ++ [pkgsModule]
|