2024-02-08 03:17:11 +01:00
|
|
|
{ inputs, pkgs, config, lib, ... }: {
|
|
|
|
imports = [
|
|
|
|
inputs.nixvim.homeManagerModules.nixvim
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.nixvim = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
number = true;
|
|
|
|
shiftwidth = 2;
|
|
|
|
};
|
2024-02-08 03:42:16 +01:00
|
|
|
plugins = {
|
|
|
|
telescope.enable = true;
|
|
|
|
oil.enable = true;
|
|
|
|
treesitter.enable = true;
|
2024-02-08 04:04:30 +01:00
|
|
|
lualine.anble = true;
|
2024-02-08 03:42:16 +01:00
|
|
|
luasnip.enable = true;
|
2024-02-08 04:04:30 +01:00
|
|
|
nix.enable = true;
|
|
|
|
nix-develop.enable = true;
|
|
|
|
bufferline.enable = true;
|
|
|
|
chadtree.enable = true;
|
2024-02-08 04:07:55 +01:00
|
|
|
which-key.enable = true;
|
2024-02-08 03:42:16 +01:00
|
|
|
|
|
|
|
lsp = {
|
|
|
|
enable = true;
|
|
|
|
servers = {
|
2024-02-08 03:44:30 +01:00
|
|
|
rust-analyzer = {
|
|
|
|
enable = true;
|
|
|
|
installCargo = true;
|
|
|
|
installRustc = true;
|
|
|
|
};
|
2024-02-08 04:04:30 +01:00
|
|
|
nixd.enable = true;
|
|
|
|
pylsp.enable = true;
|
|
|
|
html.enable = true;
|
|
|
|
cssls.enable = true;
|
|
|
|
bashls.enable = true;
|
2024-02-08 03:42:16 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
nvim-cmp = {
|
|
|
|
enable = true;
|
|
|
|
autoEnableSources = true;
|
|
|
|
sources = [
|
|
|
|
{ name = "nvim_lsp"; }
|
|
|
|
{ name = "path"; }
|
|
|
|
{ name = "buffer"; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-02-08 03:17:11 +01:00
|
|
|
colorschemes = {
|
|
|
|
tokyonight.enable = true;
|
|
|
|
};
|
2024-02-08 03:24:24 +01:00
|
|
|
extraPlugins = with pkgs.vimPlugins; [
|
2024-02-08 03:17:11 +01:00
|
|
|
everforest
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|