mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 20:09:17 -05:00
14 lines
294 B
Nix
14 lines
294 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;
|
||
|
};
|
||
|
};
|
||
|
}
|