chore: add Nix direnv config

main
Jalil Arfaoui 2023-02-04 19:40:41 +01:00
parent 88218ac974
commit c39703e173
2 changed files with 12 additions and 0 deletions

3
.envrc Normal file
View File

@ -0,0 +1,3 @@
export NODE_ENV=development
use_nix

9
default.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs ? import <nixos-unstable> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nodejs-18_x yarn ];
shellHook = ''
yarn set version berry
'';
}