nixos/home-manager/modules/neovim/default.nix

33 lines
530 B
Nix
Raw Normal View History

2025-03-29 21:03:07 -04:00
{
pkgs,
nixvim,
config,
lib,
...
}: let
cfg = config.lily.neovim;
in {
imports = [
2025-04-01 12:16:35 -04:00
./colorscheme.nix
2025-03-29 21:03:07 -04:00
./plugins
./keybinds.nix
];
options.lily.neovim = {
enable = lib.mkEnableOption "activate neovim";
};
config = lib.mkIf cfg.enable {
programs.nixvim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
performance = {
byteCompileLua.enable = true;
combinePlugins = {};
};
};
};
}