nix-config/modules/home-manager/nvim/lualine.nix
Gabe Venberg f9632c8fc3 lots of stuff:
Moved syncthing to system service
Restic actually works now
removed some old system configs.
formatting.
2024-09-30 18:45:47 +02:00

85 lines
1.7 KiB
Nix

{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.user.nvim.enable {
programs.nixvim = {
plugins.lualine = {
enable = true;
settings = {
options = {
alwaysDivideMiddle = true;
icons_enabled = true;
};
sections = {
lualine_a = [
"mode"
];
lualine_b = [
"branch"
"diff"
"diagnostics"
];
lualine_c = [
{
__unkeyed = "filename";
path = 1;
}
];
lualine_x = [
"encoding"
"fileformat"
"filetype"
];
lualine_y = [
"progress"
];
lualine_z = [
"location"
];
};
inactiveSections = {
lualine_a = [];
lualine_b = [];
lualine_c = ["filename"];
lualine_x = ["filetype"];
lualine_y = [];
lualine_z = [];
};
tabline = {
lualine_a = [
{
__unkeyed = "buffers";
mode = 4;
}
];
lualine_b = [];
lualine_c = [];
lualine_x = [];
lualine_y = [];
lualine_z = [
{
__unkeyed = "tabs";
mode = 2;
}
];
};
winbar = {
lualine_a = [];
lualine_b = [];
lualine_c = [];
lualine_x = [];
lualine_y = [];
lualine_z = [];
};
};
};
};
};
}