mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 19:11:15 +00:00
44 lines
676 B
Nix
44 lines
676 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
check ? true,
|
|
}: let
|
|
modules = [
|
|
./completion
|
|
./theme
|
|
./core
|
|
./basic
|
|
./statusline
|
|
./tabline
|
|
./filetree
|
|
./visuals
|
|
./lsp
|
|
./treesitter
|
|
./autopairs
|
|
./snippets
|
|
./git
|
|
./minimap
|
|
./dashboard
|
|
./utility
|
|
./rich-presence
|
|
./notes
|
|
./terminal
|
|
./ui
|
|
./assistant
|
|
./session
|
|
./comments
|
|
./projects
|
|
./languages
|
|
];
|
|
|
|
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]
|