{ pkgs, ... }: { microvm.autostart = [ "cpanel" ]; microvm.vms = { cpanel = { # The package set to use for the microvm. This also determines the microvm's architecture. # Defaults to the host system's package set if not given. pkgs = import pkgs { system = "x86_64-linux"; }; # (Optional) A set of special arguments to be passed to the MicroVM's NixOS modules. #specialArgs = {}; # The configuration for the MicroVM. # Multiple definitions will be merged as expected. config = { networking.hostName = "cpanel"; # It is highly recommended to share the host's nix-store # with the VMs to prevent building huge images. microvm.shares = [{ source = "/nix/store"; mountPoint = "/nix/.ro-store"; tag = "ro-store"; proto = "virtiofs"; }]; microvm.interfaces = [{ type = "bridge"; }]; # Any other configuration for your MicroVM # [...] }; }; }; }