nix/home-manager/common/software/cli/nixvim.nix
2024-02-08 11:17:11 +09:00

38 lines
No EOL
957 B
Nix

{ inputs, pkgs, config, lib, ... }: {
imports = [
inputs.nixvim.homeManagerModules.nixvim
];
programs.nixvim = {
enable = true;
options = {
number = true;
shiftwidth = 2;
};
plugins = {
lualine.enable = true;
treesitter.enable = true;
telescope.enable = true;
rainbow-delimiters.enable = true;
nvim-tree.enable = true;
nvim-colorizer.enable = true;
nvim-cmp.enable = true;
nix.enable = true;
nix-develop.enable = true;
fugitive.enable = true;
};
colorschemes = {
tokyonight.enable = true;
gruvbox.enable = true;
dracula.enable = true;
base16.enable = true;
catpuccin.enable = true;
};
extraPlugins = with pkgs.vimPlugins [
everforest
];
};
}