Create a derivation for further customization of images.
majiru opened this issue · comments
Jacob Moody commented
We could generalize a bit more and create a derivation that accepts a base image derivation along with an expect script and output a new base image. This could be used to allow importers of this flake to provide site local configuration and allows us to provide more predefined defaults like a cpu server setup.
9glenda commented
Sounds like a great idea. That's far fetched from now but maybe we could eventually have a nix derivation like sandboxed build script producing outputs to package software and copy over to the VM. But for now we should focus on the simple things like the expect script.