feat: Added basic Node.js template.

This commit is contained in:
Spencer Brower
2023-06-14 17:56:45 -04:00
parent 1a9e103169
commit 87498ec037
5 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{
description = "A very basic flake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
};
outputs = { self, flake-utils, nixpkgs }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
formatter = pkgs.nixpkgs-fmt;
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
yarn
];
};
});
}