mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 14:55:59 +01:00
42 lines
661 B
Nix
42 lines
661 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
check ? true,
|
|
}: let
|
|
modules = [
|
|
./completion
|
|
./theme
|
|
./core
|
|
./basic
|
|
./statusline
|
|
./tabline
|
|
./filetree
|
|
./visuals
|
|
./lsp
|
|
./treesitter
|
|
./tidal
|
|
./autopairs
|
|
./snippets
|
|
./binds
|
|
./markdown
|
|
./telescope
|
|
./git
|
|
./minimap
|
|
./dashboard
|
|
./notifications
|
|
./utility
|
|
./presence
|
|
./notes
|
|
./terminal
|
|
];
|
|
|
|
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]
|