nixos-config/modules/editors/neovim.nix

27 lines
521 B
Nix
Raw Normal View History

2020-08-06 15:35:49 +00:00
# (Neo)Vim is love, (Neo)Vim is life.
{ config, options, lib, pkgs, ... }:
2020-10-25 15:49:14 +00:00
with lib; {
2020-08-06 15:35:49 +00:00
options.modules.editors.neovim = {
enable = mkOption {
type = types.bool;
default = false;
};
};
2020-10-25 15:49:14 +00:00
config = mkIf config.modules.editors.neovim.enable {
my.packages = with pkgs;
[
editorconfig-core-c # Editorconfig is a MUST, you feel me?!
2020-08-06 15:35:49 +00:00
];
2020-08-16 08:33:44 +00:00
my.home = {
programs.neovim = {
enable = true;
withPython3 = true;
withRuby = true;
};
2020-08-06 15:35:49 +00:00
};
};
}