srx.astro.nix/nix/devshell.nix

26 lines
537 B
Nix
Raw Normal View History

{
perSystem = {
pkgs,
2024-03-03 13:45:20 +01:00
config,
...
}: {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
2024-03-03 13:45:20 +01:00
cocogitto
yarn
yarn2nix
alejandra
nil
2024-03-03 13:45:20 +01:00
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;
};
};
}