mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 17:41:53 -05:00
18 lines
299 B
Nix
18 lines
299 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {cliApps.neovim.enable = lib.mkEnableOption "Enables neovim.";};
|
|
|
|
config = lib.mkIf config.cliApps.neovim.enable {
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
defaultEditor = true;
|
|
};
|
|
};
|
|
}
|