optimize flake shape and add devshell

This commit is contained in:
Harivansh Rathi 2026-03-29 23:00:59 -04:00
parent f3d61787f0
commit 6dfef30594
8 changed files with 202 additions and 121 deletions

23
modules/devshells.nix Normal file
View file

@ -0,0 +1,23 @@
{ ... }:
{
perSystem =
{ pkgs, ... }:
{
formatter = pkgs.nixfmt-tree;
devShells.default = pkgs.mkShell {
packages = with pkgs; [
deadnix
git
just
nixfmt-tree
nodePackages.prettier
pre-commit
selene
shfmt
statix
stylua
];
};
};
}