VirtualBox: Difference between revisions
Added a warning not to include virtualbox in environment.systemPackages |
XDG portal is required on Wayland |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{cleanup|reason=Too many notices; they should be refactored into natural flowing sections.}} | |||
[https://www.virtualbox.org/ VirtualBox] is a virtualisation hypervisor. It has powerful a GUI included for managing virtual machines. | [https://www.virtualbox.org/ VirtualBox] is a virtualisation hypervisor. It has powerful a GUI included for managing virtual machines. | ||
| Line 18: | Line 20: | ||
{{Warning|Ensure that you do not put <code>virtualbox</code> into your <code>environment.systemPackages</code> when you've enabled it with <code>virtualisation.virtualbox.host.enable {{=}} true</code>. If you put <code>virtualbox</code> into your <code>environment.systemPackages</code>, VirtualBox won't be able to access it's driver, and attempting to start a VM will fail with the error NS_ERROR_FAILURE (0X80004005).}} | {{Warning|Ensure that you do not put <code>virtualbox</code> into your <code>environment.systemPackages</code> when you've enabled it with <code>virtualisation.virtualbox.host.enable {{=}} true</code>. If you put <code>virtualbox</code> into your <code>environment.systemPackages</code>, VirtualBox won't be able to access it's driver, and attempting to start a VM will fail with the error NS_ERROR_FAILURE (0X80004005).}} | ||
{{Warning|Ensure that you have enabled virtualization in your UEFI/BIOS options. This can take many forms based on the hardware you have, but without it, VirtualBox won't be able to grab system resources, and attempting to start a VM will fail, usually with the error NS_ERROR_FAILURE (0X80004005).}} | |||
== VirtualBox Oracle Extensions == | == VirtualBox Oracle Extensions == | ||
{{unfree}} | {{tip/unfree}} | ||
Oracle VirtualBox Extensions are required if you want to forward usb2 or usb3 to your guests. The Extensions are unfree. | Oracle VirtualBox Extensions are required if you want to forward usb2 or usb3 to your guests. The Extensions are unfree. | ||
| Line 50: | Line 54: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Troubleshooting == | |||
* If running on Wayland, make sure to enable and properly configure a suitable [https://search.nixos.org/options?query=xdg.portal XDG portal], otherwise the program will crash when attempting to open a file selector. | |||
== See also == | == See also == | ||