Files
Moirai/config/default.nix
2025-03-18 11:45:00 -05:00

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";
}