41 lines
819 B
Nix
41 lines
819 B
Nix
{pkgs, lib, ...}: {
|
|
programs.nixvim = {
|
|
enable = true;
|
|
colorschemes.base16 = {
|
|
enable = true;
|
|
colorscheme = "blueish";
|
|
setUpBar = false;
|
|
};
|
|
clipboard = {
|
|
providers.wl-copy.enable = true;
|
|
register = "unnamedplus";
|
|
};
|
|
options = {
|
|
number = true;
|
|
relativenumber = true;
|
|
tabstop = 2;
|
|
shiftwidth = 2;
|
|
expandtab = false;
|
|
scrolloff = 5;
|
|
autoindent = true;
|
|
copyindent = true;
|
|
signcolumn = "yes";
|
|
cursorline = true;
|
|
showmode = false;
|
|
};
|
|
plugins = {
|
|
lightline = {
|
|
enable = true;
|
|
colorscheme = lib.mkForce "solarized";
|
|
};
|
|
gitsigns = {
|
|
enable = true;
|
|
};
|
|
treesitter = {
|
|
enable = true;
|
|
nixvimInjections = true;
|
|
};
|
|
};
|
|
};
|
|
}
|