feat: add devshell and direnv

This commit is contained in:
Youwen Wu 2024-10-29 22:11:27 -07:00
parent 5a42cdfb6d
commit 3788778b4f
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
3 changed files with 17 additions and 1 deletions

View file

@ -125,9 +125,23 @@
};
};
perSystem =
{ pkgs, ... }:
{ pkgs, system, ... }:
{
formatter = pkgs.nixfmt-rfc-style;
devShells.default = pkgs.mkShell {
buildInputs =
with pkgs;
[
nixd
nixfmt-rfc-style
prettierd
taplo
]
++ [
inputs.viminal.packages.${system}.default
];
};
};
};
}