nix-config/home/neovim/default.nix

44 lines
986 B
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
{
programs.neovim = {
2023-02-03 17:42:08 +01:00
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withPython3 = true;
extraPackages = with pkgs; [
2023-07-22 00:33:57 +02:00
beancount-language-server
2023-02-03 17:42:08 +01:00
black
2023-07-22 00:33:57 +02:00
docker-compose-language-service
efm-langserver
2023-07-23 16:03:14 +02:00
fd
2023-07-22 00:33:57 +02:00
gcc
hlint
2023-07-29 20:58:33 +02:00
chafa
2023-07-22 00:33:57 +02:00
ltex-ls
lua-language-server
lua54Packages.luacheck
2023-07-22 00:33:57 +02:00
nixd
nixpkgs-fmt
nodePackages.dockerfile-language-server-nodejs
2023-02-03 17:42:08 +01:00
nodePackages.pyright
2023-07-23 16:03:14 +02:00
ripgrep
2023-07-22 00:33:57 +02:00
ruff-lsp
shellcheck
shfmt
2023-07-22 00:33:57 +02:00
sqlfluff
terraform-ls
tflint
vscode-langservers-extracted
2023-02-03 17:42:08 +01:00
];
extraPython3Packages = pyPkgs: with pyPkgs; [ pylint ];
plugins = [ pkgs.vimPlugins.packer-nvim ];
extraLuaConfig = builtins.readFile ./init.lua;
2022-01-18 09:32:55 +01:00
};
2023-07-23 16:03:14 +02:00
home.packages = [ pkgs.neovide ];
2023-07-29 20:58:33 +02:00
home.file = {
notes.source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Nextcloud/notes";
};
2022-01-18 09:32:55 +01:00
}