Google my way to a solution, change the let to
let
system = "aarch64-darwin";
pkgs = import nixpkgs {
inherit system;
config = {
permittedInsecurePackages = [ "nodejs-14.21.3" "openssl-1.1.1w" ];
};
};
That in turn lead to a different problem that I am trying to get help on here: Restricting python version from nixpkgs