chore(dev): add reproducible neovim tools

This commit is contained in:
Bryan Ramos 2026-04-30 10:27:03 -04:00
parent 08d1df4643
commit 0beb2bef07
3 changed files with 69 additions and 0 deletions

32
flake.nix Normal file
View file

@ -0,0 +1,32 @@
{
description = "Neovim configuration development tools";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }:
let
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
in
{
devShells = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.mkShell {
packages = with pkgs; [
curl
gcc
git
just
neovim
stylua
tree-sitter
];
};
});
};
}