54 lines
823 B
Nix
54 lines
823 B
Nix
{ pkgs, opts, ... }: {
|
|
# Import all your configuration modules here
|
|
imports = [
|
|
./bufferline.nix
|
|
./cmp.nix
|
|
./dap.nix
|
|
./lsp.nix
|
|
./plugins.nix
|
|
./keybinds.nix
|
|
];
|
|
|
|
extraPackages = with pkgs; [
|
|
coreutils
|
|
lldb_18
|
|
];
|
|
|
|
opts = {
|
|
nu = true;
|
|
rnu = true;
|
|
|
|
scrolloff = 12;
|
|
|
|
tabstop = 4;
|
|
softtabstop = 4;
|
|
shiftwidth = 4;
|
|
expandtab = true;
|
|
|
|
smartindent = true;
|
|
|
|
wrap = false;
|
|
|
|
hlsearch = false;
|
|
incsearch = true;
|
|
};
|
|
|
|
extraConfigLua = ''
|
|
vim.filetype.add({
|
|
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
|
|
})
|
|
'';
|
|
|
|
extraPlugins = with pkgs.vimPlugins; [
|
|
pywal-nvim
|
|
tokyonight-nvim
|
|
llm-nvim
|
|
nvim-lspconfig
|
|
|
|
nvim-treesitter-parsers.glsl
|
|
|
|
];
|
|
|
|
colorscheme = if opts.pywal then "pywal" else "tokyonight-storm";
|
|
}
|