Well - the nixos isos ship with "nixos-install". It should be easy to add a script which runs automatically on startup (creating llvm devices and so on) and runs the script afterwards. Marc Weber