add Nixos configuration

This commit is contained in:
Jalil Arfaoui 2024-08-18 19:07:54 +02:00
parent bfcb5d6d70
commit be8b09ee55
2 changed files with 8 additions and 0 deletions

3
.envrc Normal file
View file

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

5
default.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs ? import <nixos-unstable> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nodejs_20 ];
}