Compare commits
9 changed files with 97 additions and 121 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
./services/pipewire.nix
|
./services/pipewire.nix
|
||||||
./services/ly.nix
|
./services/ly.nix
|
||||||
./stylix/stylix.nix
|
./stylix/stylix.nix
|
||||||
|
./easyroam.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot = {
|
boot.loader.systemd-boot = {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./plugins/plugins.nix
|
./plugins.nix
|
||||||
./keymaps.nix
|
./keymaps.nix
|
||||||
];
|
];
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
|
|
|
||||||
95
nixos/nixvim/plugins.nix
Normal file
95
nixos/nixvim/plugins.nix
Normal file
|
|
@ -0,0 +1,95 @@
|
||||||
|
{
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
programs.nixvim.plugins.barbar = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
icons = {
|
|
||||||
buffer_index = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
programs.nixvim.plugins.cord = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
display = {
|
|
||||||
theme = "atom";
|
|
||||||
};
|
|
||||||
editor = {
|
|
||||||
tooltip = "ur gay :3";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,57 +0,0 @@
|
||||||
{
|
|
||||||
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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
programs.nixvim.plugins.telescope = {
|
|
||||||
enable = true;
|
|
||||||
keymaps = {
|
|
||||||
"<leader>ff" = {
|
|
||||||
action = "find_files";
|
|
||||||
};
|
|
||||||
"<leader>lg" = {
|
|
||||||
action = "live_grep";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
programs.nixvim.plugins.toggleterm = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
size = 30;
|
|
||||||
direction = "horizontal";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue