mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 13:49:17 -05:00
17 lines
287 B
Nix
17 lines
287 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {alyraffauf.apps.neovim.enable = lib.mkEnableOption "Enables neovim.";};
|
|
|
|
config = lib.mkIf config.alyraffauf.apps.neovim.enable {
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
};
|
|
};
|
|
}
|