aboutsummaryrefslogtreecommitdiff
path: root/nvim.nix
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-07-11 22:04:39 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-07-11 22:04:39 +0530
commit7697ad2b90f0c490c75fa5b22dde3840fc455d2d (patch)
tree8e0d35b2ee8916bbe0265f107352605bc914308b /nvim.nix
parentfe5072090fdf71bd32f69f93ce915846f7d42930 (diff)
nvim & boot changes
Diffstat (limited to 'nvim.nix')
-rw-r--r--nvim.nix37
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
+ ]))
+ ];
+}