This page describes how to run VirtualBox on NixOS.
edit Enabling VirtualBoxAdd the following to your configuration.nix: require = [ <nixos/modules/programs/virtualbox.nix> ]; Then run: $ nixos-rebuild switch VirtualBox is only available to users in the vboxusers group. So to enable VirtualBox for user alice, do: $ usermod -a -G vboxusers alice edit Running VirtualBoxJust do: $ VirtualBox edit Error messagesedit Missing kernel modulesIf you get this error message (like this), something went wrong: /dev/vboxdrv does not exist. Load the kernel module then try again. |