This gist was made for my own reference, but feel free to follow along. You should use your own Nix flake.
Since NixOS is not an official image for use on Oracle Cloud VM's, and users have reported that uploading the NixOS image does not work, we will use kexec to boot the installer.
sudo -i