38 lines
657 B
Nix
38 lines
657 B
Nix
{
|
|
imports = [
|
|
./lualine
|
|
./toggleterm.nix
|
|
./which-key
|
|
./fzf-lua.nix
|
|
./grug-far.nix
|
|
./presence.nix
|
|
./silicon.nix
|
|
./todo-comments.nix
|
|
./debugging.nix
|
|
./snacks
|
|
];
|
|
|
|
plugins = {
|
|
nix-develop = {
|
|
enable = true;
|
|
ignoredVariables = {
|
|
SHELL = false;
|
|
};
|
|
};
|
|
wakatime.enable = true;
|
|
};
|
|
|
|
extraConfigLua =
|
|
#lua
|
|
''
|
|
vim.api.nvim_create_autocmd("VimEnter", {
|
|
desc = "Automatically enter Nix devshell",
|
|
callback = function()
|
|
if vim.fn.filereadable "flake.nix" == 1 then
|
|
vim.cmd "NixDevelop"
|
|
end
|
|
end,
|
|
})
|
|
'';
|
|
}
|