mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 05:55:59 +01:00
18 lines
533 B
Nix
18 lines
533 B
Nix
{inputs, ...}: let
|
|
inherit (import ../extra.nix inputs) neovimConfiguration mainConfig;
|
|
|
|
buildPkg = pkgs: modules:
|
|
(neovimConfiguration {inherit pkgs modules;})
|
|
.neovim;
|
|
|
|
nixConfig = mainConfig false;
|
|
maximalConfig = mainConfig true;
|
|
tidalConfig = {config.vim.tidal.enable = true;};
|
|
in {
|
|
flake.overlays.default = _final: prev: {
|
|
inherit neovimConfiguration;
|
|
neovim-nix = buildPkg prev [nixConfig];
|
|
neovim-maximal = buildPkg prev [maximalConfig];
|
|
neovim-tidal = buildPkg prev [tidalConfig];
|
|
};
|
|
}
|