virtualisation.host.pkgs
NixOS option
Package set to use for the host-specific packages of the VM runner. Changing this to e.g. a Darwin package set allows running NixOS VMs on Darwin.
type: An evaluation of Nixpkgs; the top level attribute set of packagesDefault
pkgs
Example
declared in: nixos/modules/virtualisation/qemu-vm.nixView source on NixOS/nixpkgs →import pkgs.path { system = "x86_64-darwin"; }