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

31 lines
408 B
Nix
Raw Normal View History

{
config,
2025-06-02 02:09:06 +01:00
inputs,
lib,
...
}:
with lib;
let
2025-07-09 08:00:00 +01:00
cfg = config.features.coding.neovim;
in
{
2025-07-26 02:35:57 +01:00
# imports = [
# inputs.nixvim.homeManagerModules.nixvim
# ];
2025-06-02 02:09:06 +01:00
2025-07-09 08:00:00 +01:00
options.features.coding.neovim.enable = mkEnableOption "Enable neovim";
config = mkIf cfg.enable {
2025-06-02 02:09:06 +01:00
programs.nixvim = {
enable = true;
viAlias = true;
vimAlias = true;
2025-06-12 13:00:10 +01:00
imports = [ ./config ];
2025-06-02 02:09:06 +01:00
};
};
}