mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 14:55:59 +01:00
27 lines
408 B
Nix
27 lines
408 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
check ? true,
|
|
}: let
|
|
modules = [
|
|
./basic
|
|
./core
|
|
./languages
|
|
./plugins
|
|
./themes
|
|
];
|
|
|
|
pkgsModule = {config, ...}: {
|
|
config = {
|
|
_module = {
|
|
inherit check;
|
|
args = {
|
|
baseModules = modules;
|
|
pkgsPath = lib.mkDefault pkgs.path;
|
|
pkgs = lib.mkDefault pkgs;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
in
|
|
modules ++ [pkgsModule]
|