init flake with dev shell for node and cypress

This commit is contained in:
Yisroel Baum 2026-04-11 22:55:27 +03:00
parent 6b4ea8a1f4
commit b10a057ab8
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 46 additions and 0 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
in {
devShells."${system}".default = let
pkgs = import nixpkgs { inherit system; };
in pkgs.mkShell {
buildInputs = with pkgs; [
nodejs_25
cypress
];
};
};
}