add core configuration
This commit is contained in:
parent
74c78e1c68
commit
f40517cff1
94 changed files with 2816 additions and 959 deletions
32
home-manager/modules/neovim/default.nix
Normal file
32
home-manager/modules/neovim/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pkgs,
|
||||
nixvim,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.lily.neovim;
|
||||
in {
|
||||
imports = [
|
||||
# ./colorscheme.nix
|
||||
./plugins
|
||||
./keybinds.nix
|
||||
];
|
||||
options.lily.neovim = {
|
||||
enable = lib.mkEnableOption "activate neovim";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
|
||||
performance = {
|
||||
byteCompileLua.enable = true;
|
||||
combinePlugins = {};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue