first commit

This commit is contained in:
chloe 2025-03-09 10:11:05 +01:00
commit 5fd5da9579
7 changed files with 379 additions and 0 deletions

6
config/bufferline.nix Normal file
View file

@ -0,0 +1,6 @@
{
plugins = {
bufferline.enable = true;
web-devicons.enable = true;
};
}

12
config/default.nix Normal file
View file

@ -0,0 +1,12 @@
{
# Import all your configuration modules here
imports = [
./bufferline.nix
./plugins.nix
];
colorschemes.catppuccin = {
enable = true;
settings.flavour = "latte";
};
}

7
config/keys.nix Normal file
View file

@ -0,0 +1,7 @@
{
keymaps = [
{
action = "<cmd>CHADopen<cr>";
}
];
}

87
config/plugins.nix Normal file
View file

@ -0,0 +1,87 @@
{
lib,
config,
pkgs,
...
}:
{
plugins = {
lsp = {
enable = true;
servers = {
asm_lsp.enable = true;
gopls.enable = true;
java_language_server.enable = true;
rust-analyzer.enable = true;
nil_ls.enable = true;
marksman.enable = true;
};
};
grug-far = {
enable = true;
};
conform-nvim = {
enable = true;
};
markdown-preview = {
enable = true;
};
cmp = {
enable = true;
autoEnableSources = true;
};
barbar.enable = true;
gitsigns.enable = true;
comment = {
enable = true;
};
treesitter = {
enable = true;
};
web-devicons = {
enable = true;
};
emmet = {
enable = true;
};
nvim-autopairs = {
enable = true;
};
presence-nvim = {
enable = true;
};
chadtree = {
enable = true;
};
fzf-lua = {
enable = true;
};
notify = {
enable = true;
};
neotest = {
enable = true;
adapters = {
rust.enable = true;
python.enable = true;
java.enable = true;
go.enable = true;
};
};
};
}