majiru / 9front-in-a-box

A nix flake for running 9front virtual machines with drawterm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a derivation for further customization of images.

majiru opened this issue · comments

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.

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.