I've been playing with Nixops lately. Wanted to deploy a nixos server to Vultr (since it's my current provider).
Nixos ISO was in the list of ISO's you can attach. After a small search, I've found a cool script on GitHub to bootstrap the environment properly.
Yet, I wanted it to be encrypted (yeah I know, entering password on boot..) and forked it to make securestrap ¯_(ツ)_/¯
I like how easy the whole declarative stuff is. You can adapt this script to whatever provider you have.
See you on my next dumb work :)