nixos-config/home-manager/modules/neovim/default.nix

24 lines
436 B
Nix
Raw Normal View History

2021-12-18 16:23:14 +01:00
{ lib, pkgs, config, ... }:
with lib;
let
cfg = config.eboskma.programs.neovim;
in
{
options.eboskma.programs.neovim = { enable = mkEnableOption "activate neovim"; };
config = mkIf cfg.enable {
programs.neovim = {
enable = true;
# Enable some aliases
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
};
};
}