shell.nix.md
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  packages = with pkgs; [
    git
    nodejs
  ];

  shellHook = ''
    echo "Nix shell ready"
  '';
}

Activate the shell

$ nix-shell