38 lines
679 B
Nix
38 lines
679 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
vimAlias = true;
|
|
defaultEditor = true;
|
|
configure = {
|
|
customRC = builtins.readFile ./init.vim;
|
|
packages.default.start = with pkgs.vimPlugins; [
|
|
coc-nvim
|
|
editorconfig-vim
|
|
fzf-vim
|
|
vim-airline
|
|
vim-clang-format
|
|
vim-fetch
|
|
vim-nftables
|
|
vim-nix
|
|
vim-sensible
|
|
vim-toml
|
|
gruvbox
|
|
|
|
coc-go
|
|
coc-json
|
|
coc-rust-analyzer
|
|
];
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nixpkgs-fmt
|
|
nodejs
|
|
python3Packages.python-language-server
|
|
rnix-lsp
|
|
rust-analyzer
|
|
];
|
|
}
|