mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
27 lines
521 B
Nix
Executable File
27 lines
521 B
Nix
Executable File
# (Neo)Vim is love, (Neo)Vim is life.
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib; {
|
|
options.modules.editors.neovim = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf config.modules.editors.neovim.enable {
|
|
my.packages = with pkgs;
|
|
[
|
|
editorconfig-core-c # Editorconfig is a MUST, you feel me?!
|
|
];
|
|
|
|
my.home = {
|
|
programs.neovim = {
|
|
enable = true;
|
|
withPython3 = true;
|
|
withRuby = true;
|
|
};
|
|
};
|
|
};
|
|
}
|