refactor(nixvim): modularize nixvim config into folder with per-plugin files

This commit is contained in:
lightly-toasted 2025-08-03 20:10:39 +09:00
parent 27fcf8aa4a
commit 6f3f9c7a6d
4 changed files with 20 additions and 5 deletions

View file

@ -0,0 +1,12 @@
{
programs.nixvim = {
enable = true;
defaultEditor = true;
colorschemes.ayu.enable = true;
};
imports = [
./plugins/bufferline.nix
./plugins/lualine.nix
];
}

View file

@ -0,0 +1,3 @@
{
programs.nixvim.plugins.bufferline.enable = true;
}

View file

@ -0,0 +1,11 @@
{
programs.nixvim.plugins.lualine = {
enable = true;
settings = {
options = {
icons_enabled = true;
theme = "ayu_dark";
};
};
};
}