Skip to content

KVM builds

nixbuild.net supports running builds that use KVM, including builds that uses the NixOS integration testing framework.

To make use of this, your derivation must have kvm listed in its requiredSystemFeatures attribute. If a derivation is not marked with kvm, nixbuild.net will not activate KVM support and /dev/kvm will not be available to the build.

Additionally, you must configure your nix client to send kvm builds to nixbuild.net. This is done by adding the kvm tag to the list of system features for the remote builder:

eu.nixbuild.net x86_64-linux - 100 1 big-parallel,benchmark,kvm,nixos-test

Above, we also added the nixos-test feature which is needed if you want to build NixOS integration tests.

KVM builds are only supported on x86_64-linux, not aarch64-linux.