a) To temporarily allow all insecure packages, you can use an environment variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=1
Note: When using nix shell, nix build, nix develop, etc with a flake, then pass --impure in order to allow use of environment variables.