modified home and neovim module

home explictly needed map wrapper (?) around the existing modules that
are needed
This commit is contained in:
2024-09-14 12:56:44 -04:00
parent a518d73323
commit 41022a0ae3
2 changed files with 18 additions and 3 deletions

View File

@ -1,7 +1,14 @@
{...}: {
{dirs, ...}: {
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
};
xdg.configFile = {
nvim = {
onChange = "nvim --headless -c 'if exists(\":LuaCacheClear\") | :LuaCacheClear' +quitall";
source = dirs.defaults + /nvim;
};
};
}