Better support for neovim: packages and treesitter

This commit is contained in:
2025-09-28 16:11:22 +03:00
parent 341ee6481a
commit 77dbe5c076
2 changed files with 7 additions and 3 deletions

6
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1758277210, "lastModified": 1758690382,
"narHash": "sha256-iCGWf/LTy+aY0zFu8q12lK8KuZp7yvdhStehhyX1v8w=", "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8eaee110344796db060382e15d3af0a9fc396e0e", "rev": "e643668fd71b949c53f8626614b21ff71a07379d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -9,6 +9,7 @@
isNormalUser = true; isNormalUser = true;
description = "user"; description = "user";
extraGroups = ["networkmanager" "wheel" "video" "libvirtd"]; extraGroups = ["networkmanager" "wheel" "video" "libvirtd"];
programs.neovim.plugins = [pkgs.vimPlugins.nvim-treesitter.withAllGrammars];
packages = with pkgs; [ packages = with pkgs; [
# stuff needed by neovim # stuff needed by neovim
fzf fzf
@@ -17,6 +18,9 @@
neovim neovim
mcfly mcfly
luajitPackages.luarocks-nix luajitPackages.luarocks-nix
pdflatex
tectonic
gs
# Dev stuff, most of it might be replaced by devenvs later on # Dev stuff, most of it might be replaced by devenvs later on
ghostty ghostty