36 lines
684 B
Nix
36 lines
684 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
home.packages = with pkgs; [
|
|
nil
|
|
nodePackages.pyright
|
|
neofetch
|
|
gopls
|
|
];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
vimdiffAlias = true;
|
|
defaultEditor = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
nvim-lspconfig
|
|
gruvbox-nvim
|
|
leap-nvim
|
|
telescope-nvim
|
|
vim-commentary
|
|
vim-sleuth
|
|
gitsigns-nvim
|
|
nvim-cmp
|
|
cmp-nvim-lsp
|
|
friendly-snippets
|
|
neodev-nvim
|
|
];
|
|
extraLuaConfig = builtins.readFile ./neovim.lua;
|
|
};
|
|
|
|
programs.git.extraConfig.core.editor = "nvim";
|
|
};
|
|
}
|