mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 22:43:55 -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;
|
|
};
|
|
};
|
|
}
|