66 lines
No EOL
1.9 KiB
Nix
66 lines
No EOL
1.9 KiB
Nix
{ inputs, pkgs, config, lib, ... }: {
|
|
imports = [
|
|
inputs.nixvim.homeManagerModules.nixvim
|
|
];
|
|
|
|
programs.nixvim = {
|
|
enable = true;
|
|
options = {
|
|
number = true;
|
|
shiftwidth = 2;
|
|
};
|
|
plugins = {
|
|
telescope.enable = true;
|
|
treesitter.enable = true;
|
|
airline.enable = true;
|
|
luasnip.enable = true;
|
|
nix.enable = true;
|
|
nix-develop.enable = true;
|
|
bufferline.enable = true;
|
|
chadtree.enable = true;
|
|
which-key.enable = true;
|
|
nvim-tree.enable = true;
|
|
|
|
lsp = {
|
|
enable = true;
|
|
servers = {
|
|
rust-analyzer = {
|
|
enable = true;
|
|
installCargo = true;
|
|
installRustc = true;
|
|
};
|
|
nixd.enable = true;
|
|
pylsp.enable = true;
|
|
html.enable = true;
|
|
cssls.enable = true;
|
|
bashls.enable = true;
|
|
};
|
|
};
|
|
nvim-cmp = {
|
|
enable = true;
|
|
autoEnableSources = true;
|
|
sources = [
|
|
{ name = "nvim_lsp"; }
|
|
{ name = "path"; }
|
|
{ name = "buffer"; }
|
|
];
|
|
};
|
|
};
|
|
|
|
colorscheme = lib.mkForce "everforest";
|
|
colorschemes = {
|
|
tokyonight.enable = true;
|
|
gruvbox.enable = true;
|
|
oxocarbon.enable = true;
|
|
nord.enable = true;
|
|
catppuccin.enable = true;
|
|
base16.enable = true;
|
|
kanagawa.enable = true;
|
|
dracula.enable = true;
|
|
|
|
};
|
|
extraPlugins = with pkgs.vimPlugins; [
|
|
everforest
|
|
];
|
|
};
|
|
} |