mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 07:25:40 +00:00
refactor(nixvim): modularize nixvim config into folder with per-plugin files
This commit is contained in:
parent
27fcf8aa4a
commit
6f3f9c7a6d
4 changed files with 20 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
./programs/kitty.nix
|
||||
./programs/git.nix
|
||||
./programs/nixvim.nix
|
||||
./programs/nixvim
|
||||
./programs/fonts.nix
|
||||
./programs/hyprland.nix
|
||||
./programs/tofi.nix
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
enable = true;
|
||||
defaultEditor = true;
|
||||
colorschemes.ayu.enable = true;
|
||||
plugins = {
|
||||
lualine.enable = true;
|
||||
bufferline.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./plugins/bufferline.nix
|
||||
./plugins/lualine.nix
|
||||
];
|
||||
}
|
3
home/toast/programs/nixvim/plugins/bufferline.nix
Normal file
3
home/toast/programs/nixvim/plugins/bufferline.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.nixvim.plugins.bufferline.enable = true;
|
||||
}
|
11
home/toast/programs/nixvim/plugins/lualine.nix
Normal file
11
home/toast/programs/nixvim/plugins/lualine.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
programs.nixvim.plugins.lualine = {
|
||||
enable = true;
|
||||
settings = {
|
||||
options = {
|
||||
icons_enabled = true;
|
||||
theme = "ayu_dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue