nixcfg/homeManagerModules/cliApps/neovim/default.nix

18 lines
299 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {cliApps.neovim.enable = lib.mkEnableOption "Enables neovim.";};
2024-03-28 19:52:15 -04:00
config = lib.mkIf config.cliApps.neovim.enable {
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
defaultEditor = true;
};
};
}