srx.astro.nix/nix/devshell.nix

26 lines
537 B
Nix

{
perSystem = {
pkgs,
config,
...
}: {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
cocogitto
yarn
yarn2nix
alejandra
nil
nodejs
nodePackages.typescript
nodePackages.typescript-language-server
vscodium
vscode-extensions.jnoortheen.nix-ide
vscode-extensions.kamadorueda.alejandra
vscode-extensions.astro-build.astro-vscode
];
shellHook = config.pre-commit.installationScript;
};
};
}