mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
its time
This commit is contained in:
parent
cc18493707
commit
6fff6d1845
673 changed files with 1070 additions and 124971 deletions
21
homeConfig/modules/neovim/default.nix
Normal file
21
homeConfig/modules/neovim/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.neovim;
|
||||
|
||||
in
|
||||
{ options.modules.neovim = { enable = mkEnableOption "neovim"; };
|
||||
config = mkIf cfg.enable {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
extraLuaConfig = import ./config/init.nix;
|
||||
generatedConfigs.lua = import ./config/config.nix;
|
||||
plugins = import ./config/plugins.nix { inherit pkgs; };
|
||||
extraPackages = import ./config/lsp.nix { inherit pkgs; };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue