In order to install NixOS behind corporate proxy do the usual stuff but before running nixos-install
set this environment variable:
export CURL_NIX_FLAGS="-x http://user:password@proxy:port/"
In addition in case you have ties to cloning from GitHub (like vim plugins), you should export proxy related variables:
export HTTP_PROXY=http://user:password@proxy:port/