Files
dots/home/editors/nvim/plugins/utils/default.nix
2025-12-17 13:17:30 +01:00

38 lines
659 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,
})
'';
}