2023-04-17 22:05:18 +00:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2023-02-10 17:45:23 +00:00
|
|
|
inherit (import ../extra.nix inputs) neovimConfiguration mainConfig;
|
|
|
|
|
|
|
|
buildPkg = pkgs: modules:
|
2023-03-31 02:20:35 +00:00
|
|
|
(neovimConfiguration {inherit pkgs modules;})
|
2023-02-10 17:45:23 +00:00
|
|
|
.neovim;
|
|
|
|
|
|
|
|
nixConfig = mainConfig false;
|
|
|
|
maximalConfig = mainConfig true;
|
2023-03-31 02:20:35 +00:00
|
|
|
tidalConfig = {config.vim.tidal.enable = true;};
|
2023-02-10 17:45:23 +00:00
|
|
|
in {
|
2023-03-31 02:20:35 +00:00
|
|
|
flake.overlays.default = _final: prev: {
|
2023-02-10 17:45:23 +00:00
|
|
|
inherit neovimConfiguration;
|
|
|
|
neovim-nix = buildPkg prev [nixConfig];
|
|
|
|
neovim-maximal = buildPkg prev [maximalConfig];
|
|
|
|
neovim-tidal = buildPkg prev [tidalConfig];
|
2023-04-17 22:05:18 +00:00
|
|
|
devPkg = buildPkg pkgs [nixConfig {config.vim.languages.html.enable = pkgs.lib.mkForce true;}];
|
2023-02-10 17:45:23 +00:00
|
|
|
};
|
|
|
|
}
|