Skip to content

Commit

Permalink
refactor: modularize main import file
Browse files Browse the repository at this point in the history
  • Loading branch information
redyf committed Oct 12, 2024
1 parent 08ab74b commit 17c8da6
Showing 1 changed file with 36 additions and 78 deletions.
114 changes: 36 additions & 78 deletions config/default.nix
Original file line number Diff line number Diff line change
@@ -1,83 +1,41 @@
{ lib, config, ... }:
{
# Import all your configuration modules here
imports = [
./sets.nix
./keymaps.nix

./bufferlines/bufferline.nix

./colorschemes/base16.nix
./colorschemes/catppuccin.nix
./colorschemes/rose-pine.nix

./completion/cmp.nix
./completion/copilot.nix
./completion/lspkind.nix

./dap/dap.nix

./filetrees/neo-tree.nix
./git/gitsigns.nix
./git/diffview.nix
./git/lazygit.nix
./git/neogit.nix

./languages/nvim-jdtls.nix
./languages/nvim-lint.nix
./languages/treesitter/treesitter.nix
./languages/treesitter/treesitter-context.nix
./languages/treesitter/treesitter-textobjects.nix
./languages/treesitter/ts-autotag.nix
./languages/treesitter/ts-context-commentstring.nix

./lsp/conform.nix
./lsp/fidget.nix
./lsp/lsp.nix
./lsp/lspsaga.nix
./lsp/trouble.nix

./none-ls/none-ls.nix

./pluginmanagers/lazy.nix

./snippets/luasnip.nix

./statusline/lualine.nix
./statusline/staline.nix

./telescope/telescope.nix

./ui/alpha.nix
./ui/dressing-nvim.nix
./ui/indent-blankline.nix
./ui/noice.nix
./ui/nvim-notify.nix
./ui/nui.nix
./ui/web-devicons.nix

./utils/better-escape.nix
./utils/neocord.nix
./utils/harpoon.nix
./utils/illuminate.nix
./utils/markdown-preview.nix
./utils/mini.nix
./utils/neodev.nix
./utils/neotest.nix
./utils/nvim-autopairs.nix
./utils/nvim-colorizer.nix
./utils/nvim-surround.nix
./utils/nvterm.nix
./utils/oil.nix
./utils/persistence.nix
./utils/plenary.nix
./utils/project-nvim.nix
./utils/sidebar.nix
./utils/tmux-navigator.nix
./utils/todo-comments.nix
./utils/ultimate-autopair.nix
./utils/undotree.nix
./utils/wakatime.nix
./utils/whichkey.nix
./utils/wilder.nix
./bufferlines
./colorschemes
./completion
./dap
./filetrees
./git
./keys.nix
./languages
./lsp
./none-ls
./pluginmanagers
./sets
./snippets
./statusline
./telescope
./ui
./utils
];

bufferlines.enable = lib.mkDefault true;
colorschemes.enable = lib.mkDefault true;
completion.enable = lib.mkDefault true;
dap.enable = lib.mkDefault true;
filetrees.enable = lib.mkDefault true;
git.enable = lib.mkDefault true;
keys.enable = true;
languages.enable = true;
lsp.enable = lib.mkDefault true;
none-ls.enable = lib.mkDefault true;
sets.enable = lib.mkDefault true;
pluginmanagers.enable = lib.mkDefault true;
snippets.enable = lib.mkDefault true;
statusline.enable = lib.mkDefault true;
telescope.enable = lib.mkDefault true;
ui.enable = lib.mkDefault true;
utils.enable = lib.mkDefault true;
}

0 comments on commit 17c8da6

Please sign in to comment.