VirtualBox: Difference between revisions
No edit summary |
XDG portal is required on Wayland |
||
| (One intermediate revision by one other user not shown) | |||
| Line 20: | 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 == | ||
| Line 52: | 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 == | ||