mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
17 lines
350 B
Nix
17 lines
350 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options.myConfig.neovim.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.neovim.enable {
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
vimdiffAlias = true;
|
|
};
|
|
};
|
|
}
|