nix/home/neovim/default.nix

33 lines
624 B
Nix
Raw Normal View History

2024-07-08 19:43:04 +02:00
{ ... }:
2024-07-08 14:24:48 +02:00
{
2024-07-08 19:43:04 +02:00
imports = [
./plugins
];
2024-07-08 14:24:48 +02:00
programs.nixvim = {
enable = true;
defaultEditor = true;
clipboard.register = "unnamedplus";
colorschemes.gruvbox.enable = true;
plugins = {
2024-07-08 19:43:04 +02:00
lualine.enable = true;
};
2024-07-09 13:31:22 +02:00
opts = {
2024-07-08 19:43:04 +02:00
number = true;
tabstop = 2;
softtabstop = 2;
showtabline = 2;
expandtab = true;
shiftwidth = 2;
smartindent = true;
breakindent = true;
cursorline = true;
scrolloff = 8;
cmdheight = 0;
wrap = true;
termguicolors = true;
2024-07-08 14:24:48 +02:00
};
};
}