diff options
Diffstat (limited to 'nvim.nix')
| -rw-r--r-- | nvim.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/nvim.nix b/nvim.nix new file mode 100644 index 0000000..f665e46 --- /dev/null +++ b/nvim.nix @@ -0,0 +1,37 @@ +{ config, pkgs, ... }: +let unstable = import <nixos-unstable> { config.allowUnfree = true; }; +in { + environment.systemPackages = with pkgs; [ + unstable.neovim + + ripgrep + gcc + cargo + python311 + nodejs_20 + unzip + lua + lua53Packages.luarocks + lua53Packages.luafilesystem + xsel + tree-sitter + + lua-language-server + vscode-langservers-extracted + rust-analyzer + zls + typescript-language-server + javascript-typescript-langserver + (pkgs.python3.withPackages (ps: with ps; [ + python-lsp-server + python-lsp-jsonrpc + python-lsp-black + python-lsp-ruff + pyls-isort + pyls-flake8 + ruff + black + isort + ])) + ]; +} |
