chore: add Nix direnv config
This commit is contained in:
parent
88218ac974
commit
c39703e173
2 changed files with 12 additions and 0 deletions
3
.envrc
Normal file
3
.envrc
Normal file
|
@ -0,0 +1,3 @@
|
|||
export NODE_ENV=development
|
||||
use_nix
|
||||
|
9
default.nix
Normal file
9
default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs ? import <nixos-unstable> {} }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [ nodejs-18_x yarn ];
|
||||
|
||||
shellHook = ''
|
||||
yarn set version berry
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue