Add support for extra commands
The goal is to mimic the current nixos behavior to act as drop in replacement. We should run extra command after all operations, but before deleting $tmp. The command are the responsability of the user and no sanity check is needed. (i.e let them rm -rf --no-preserve-root /).