add nodejs shell to readme

This commit is contained in:
Adithya 2024-01-04 19:41:23 +05:30
parent f346d1ae9e
commit 2f6e23c7a1
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -4,8 +4,7 @@ This repo contains a bunch of handy dev shells that can used on any system that
## Requirements ## Requirements
- [Nix](https://github.com/nixos/nix) - [Nix](https://github.com/nixos/nix)
- [Direnv](https://direnv.net) (Optional) - [Direnv](https://direnv.net) + [nix-direnv](https://github.com/nix-community/nix-direnv) (optional)
- [nix-direnv](https://github.com/nix-community/nix-direnv) (optional)
## Available shells ## Available shells
@ -77,3 +76,19 @@ $ nix develop github:adtya/devshell#rust
```sh ```sh
use flake github:adtya/devshell#rust use flake github:adtya/devshell#rust
``` ```
### Node
#### What's included?
- [nodejs](https://nodejs.org)
- [yarn](https://yarnpkg.com)
#### Activatge with Nix
```sh
$ nix develop github:adtya/devshell#node
```
#### Activate with Direnv
```sh
use flake github:adtya/devshell#node
```