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
|
2023-02-18 17:59:03 +01:00
|
|
|
efm-langserver
|
2023-07-23 16:03:14 +02:00
|
|
|
fd
|
2023-07-22 00:33:57 +02:00
|
|
|
gcc
|
2023-02-18 17:59:03 +01:00
|
|
|
hlint
|
2023-07-29 20:58:33 +02:00
|
|
|
chafa
|
2023-07-22 00:33:57 +02:00
|
|
|
ltex-ls
|
|
|
|
lua-language-server
|
2023-02-18 17:59:03 +01:00
|
|
|
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
|
2023-02-18 17:59:03 +01:00
|
|
|
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 ];
|
2023-08-02 12:15:37 +02:00
|
|
|
# plugins = [ pkgs.vimPlugins.lazy-nvim ];
|
2023-02-18 17:59:03 +01:00
|
|
|
extraLuaConfig = builtins.readFile ./init.lua;
|
2022-01-18 09:32:55 +01:00
|
|
|
};
|
2023-08-02 12:15:37 +02:00
|
|
|
home.file.lua = {
|
|
|
|
recursive = true;
|
|
|
|
source = ./lua;
|
|
|
|
target = "/.config/nvim/lua";
|
|
|
|
};
|
2023-07-23 16:03:14 +02:00
|
|
|
home.packages = [ pkgs.neovide ];
|
2023-08-02 12:15:37 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
}
|