{ inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; }; outputs = { self, nixpkgs }: let supportedSystems = [ "x86_64-linux" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); shell = pkgs: with pkgs; mkShell { buildInputs = [ nodejs-18_x nodePackages.typescript nodePackages.typescript-language-server just ]; }; in { devShells = forAllSystems (system: let pkgs = import nixpkgs { inherit system; }; in { default = shell pkgs; }); }; }