added enable option to nvim

changed home-manager personal config namespace from home.* to user.*
This commit is contained in:
Gabe Venberg 2024-05-29 13:40:03 -05:00
parent 322788aa3a
commit 6f0e167087
30 changed files with 539 additions and 525 deletions

View file

@ -1,15 +1,18 @@
{
configs,
config,
lib,
pkgs,
...
}: {
programs.nixvim = {
opts = {
timeout = true;
timeoutlen = 300;
};
plugins.which-key = {
enable = true;
config = lib.mkIf config.user.nvim.enable {
programs.nixvim = {
opts = {
timeout = true;
timeoutlen = 300;
};
plugins.which-key = {
enable = true;
};
};
};
}