upvote
That can be specified quite nicely in a NixOS config: the NixOS config for the container/VM is just a nested value inside the host's config.
reply