For working in vwware you would need the homedirectory mounted from the host and UEFI enabled.
curl -sfL -H 'Pragma: no-cache' -H 'Cache-Control: no-cache, no-store, force-revalidate' -H 'Expires: 0' https://raw.github.com/oxypwn/nixos-config/main/install.sh > install.sh; bash -x install.sh