2022-11-30 02:14:14 +00:00
|
|
|
# { inputs, globals, extraConfig ? [ ], ... }:
|
|
|
|
#
|
|
|
|
# let
|
|
|
|
#
|
|
|
|
# pkgs = import inputs.nixpkgs {
|
|
|
|
# system = inputs.system;
|
|
|
|
# overlays = [
|
|
|
|
# (import ./modules/neovim/plugins-overlay.nix inputs)
|
|
|
|
# inputs.nix2vim.overlay
|
|
|
|
# ];
|
|
|
|
# };
|
|
|
|
#
|
|
|
|
# in pkgs.neovimBuilder {
|
|
|
|
# package = pkgs.neovim-unwrapped;
|
|
|
|
# imports = [
|
2023-02-21 01:37:37 +00:00
|
|
|
# ./modules/common/neovim/plugins/bufferline.nix
|
|
|
|
# ./modules/common/neovim/plugins/completion.nix
|
|
|
|
# ./modules/common/neovim/plugins/gitsigns.nix
|
|
|
|
# ./modules/common/neovim/plugins/lsp.nix
|
|
|
|
# ./modules/common/neovim/plugins/misc.nix
|
|
|
|
# ./modules/common/neovim/plugins/statusline.nix
|
|
|
|
# ./modules/common/neovim/plugins/syntax.nix
|
|
|
|
# ./modules/common/neovim/plugins/telescope.nix
|
|
|
|
# ./modules/common/neovim/plugins/toggleterm.nix
|
|
|
|
# ./modules/common/neovim/plugins/tree.nix
|
2022-11-30 02:14:14 +00:00
|
|
|
# ] ++ extraConfig;
|
|
|
|
# }
|
|
|
|
|
2024-04-20 13:42:06 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
colors,
|
|
|
|
terraform ? false,
|
|
|
|
github ? false,
|
|
|
|
kubernetes ? false,
|
|
|
|
...
|
|
|
|
}:
|
2022-11-30 02:14:14 +00:00
|
|
|
|
2023-07-09 20:51:41 +00:00
|
|
|
# Comes from nix2vim overlay:
|
|
|
|
# https://github.com/gytis-ivaskevicius/nix2vim/blob/master/lib/neovim-builder.nix
|
2022-11-30 02:14:14 +00:00
|
|
|
pkgs.neovimBuilder {
|
|
|
|
package = pkgs.neovim-unwrapped;
|
2024-04-20 13:42:06 +00:00
|
|
|
inherit
|
|
|
|
colors
|
|
|
|
terraform
|
|
|
|
github
|
|
|
|
kubernetes
|
|
|
|
;
|
2022-11-30 02:14:14 +00:00
|
|
|
imports = [
|
2023-03-08 23:14:52 +00:00
|
|
|
../config/align.nix
|
2022-11-30 02:14:14 +00:00
|
|
|
../config/bufferline.nix
|
2023-04-15 22:38:03 +00:00
|
|
|
../config/colors.nix
|
2022-11-30 02:14:14 +00:00
|
|
|
../config/completion.nix
|
|
|
|
../config/gitsigns.nix
|
|
|
|
../config/lsp.nix
|
|
|
|
../config/misc.nix
|
|
|
|
../config/statusline.nix
|
|
|
|
../config/syntax.nix
|
|
|
|
../config/telescope.nix
|
|
|
|
../config/toggleterm.nix
|
|
|
|
../config/tree.nix
|
|
|
|
];
|
|
|
|
}
|