VirtualBox: Difference between revisions
imported from old wiki |
No edit summary |
||
(4 intermediate revisions by 4 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. | |||
== NixOS Installation == | == NixOS Installation == | ||
VirtualBox can be installed on NixOS without problems, put this snippet in your <code>configuration.nix</code> | VirtualBox can be installed on NixOS without problems, put this snippet in your <code>configuration.nix</code> | ||
Line 14: | Line 18: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
In this case, the audio driver causes a crash. This can be fixed by switching to another driver such as PULSE.}} | In this case, the audio driver causes a crash. This can be fixed by switching to another driver such as PULSE.}} | ||
{{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).}} | |||
== 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 40: | Line 46: | ||
== VirtualBox Guest Additions == | == VirtualBox Guest Additions == | ||
< | <syntaxhighlight lang="nix"> | ||
{ | { | ||
virtualisation.virtualbox.guest.enable = true; | virtualisation.virtualbox.guest.enable = true; | ||
virtualisation.virtualbox.guest. | virtualisation.virtualbox.guest.dragAndDrop = true; | ||
} | } | ||
</ | </syntaxhighlight> | ||
== See also == | == See also == |