Add nix flake and use it in the pipeline for reliability and reproducability. Referenced issue: * https://github.com/status-im/infra-ci/issues/188