Compare commits

...
Author SHA1 Message Date
854a261636 add telescope keybinds 2026-08-01 12:59:57 +02:00
bec1101a96 add telescope 2026-08-01 12:57:39 +02:00
831b3fd924 split nixvim config into multiple files 2026-08-01 12:52:34 +02:00
9 changed files with 121 additions and 97 deletions

View file

@ -16,7 +16,6 @@
./services/pipewire.nix
./services/ly.nix
./stylix/stylix.nix
./easyroam.nix
];
boot.loader.systemd-boot = {

View file

@ -7,7 +7,7 @@
}:
{
imports = [
./plugins.nix
./plugins/plugins.nix
./keymaps.nix
];
programs.nixvim = {

View file

@ -1,95 +0,0 @@
{
programs.nixvim = {
plugins = {
lspconfig.enable = true;
web-devicons.enable = true;
blink-cmp = {
enable = true;
};
blink-indent = {
enable = true;
};
toggleterm = {
enable = true;
settings = {
size = 30;
direction = "horizontal";
};
};
cord = {
enable = true;
settings = {
display = {
theme = "atom";
};
editor = {
tooltip = "ur gay :3";
};
};
};
barbar = {
enable = true;
settings = {
icons = {
buffer_index = true;
};
};
};
lualine = {
enable = true;
settings = {
extensions = [ "toggleterm" ];
options = {
section_separators = {
left = "▎";
right = "▕";
};
component_separators = {
left = "";
right = "";
};
};
inactive_sections = {
lualine_a = [
"mode"
];
lualine_b = [
"filename"
"filetype"
];
lualine_c = [
"diagnostics"
];
lualine_x = [
"lsp_status"
];
lualine_y = [ ];
lualine_z = [
"location"
];
};
sections = {
lualine_a = [
"mode"
];
lualine_b = [
"filename"
"filetype"
];
lualine_c = [
"diagnostics"
];
lualine_x = [
"lsp_status"
];
lualine_y = [ ];
lualine_z = [
"location"
];
};
};
};
};
};
}

View file

@ -0,0 +1,10 @@
{
programs.nixvim.plugins.barbar = {
enable = true;
settings = {
icons = {
buffer_index = true;
};
};
};
}

View file

@ -0,0 +1,13 @@
{
programs.nixvim.plugins.cord = {
enable = true;
settings = {
display = {
theme = "atom";
};
editor = {
tooltip = "ur gay :3";
};
};
};
}

View file

@ -0,0 +1,57 @@
{
programs.nixvim.plugins.lualine = {
enable = true;
settings = {
extensions = [ "toggleterm" ];
options = {
section_separators = {
left = "▎";
right = "▕";
};
component_separators = {
left = "";
right = "";
};
};
inactive_sections = {
lualine_a = [
"mode"
];
lualine_b = [
"filename"
"filetype"
];
lualine_c = [
"diagnostics"
];
lualine_x = [
"lsp_status"
];
lualine_y = [ ];
lualine_z = [
"location"
];
};
sections = {
lualine_a = [
"mode"
];
lualine_b = [
"filename"
"filetype"
];
lualine_c = [
"diagnostics"
];
lualine_x = [
"lsp_status"
];
lualine_y = [ ];
lualine_z = [
"location"
];
};
};
};
}

View file

@ -0,0 +1,18 @@
{
imports = [
./barbar.nix
./toggleterm.nix
./cord.nix
./lualine.nix
./telescope.nix
];
programs.nixvim = {
plugins = {
lspconfig.enable = true;
web-devicons.enable = true;
blink-cmp.enable = true;
blink-indent.enable = true;
};
};
}

View file

@ -0,0 +1,13 @@
{
programs.nixvim.plugins.telescope = {
enable = true;
keymaps = {
"<leader>ff" = {
action = "find_files";
};
"<leader>lg" = {
action = "live_grep";
};
};
};
}

View file

@ -0,0 +1,9 @@
{
programs.nixvim.plugins.toggleterm = {
enable = true;
settings = {
size = 30;
direction = "horizontal";
};
};
}