Category:Virtualization: Difference between revisions

From NixOS Wiki
Claes (talk | contribs)
Changed heading structure for better readability
Klinger (talk | contribs)
little bit expanded to faster find the right link.
Line 1: Line 1:
This guide page exists to point out resources related to virtualization in the Nix ecosystem.
This guide page exists to point out resources related to virtualization in the Nix ecosystem.


== Virtualizing NixOS ==
== NixOS as VM guest ==
This section is for information about running NixOS as a guest virtual machine.
This section is for information about running NixOS as a guest virtual machine.


=== VirtualBox ===
=== VirtualBox as host ===
NixOS.org hosts an [https://nixos.org/download.html#nixos-virtualbox official VirtualBox virtual appliance image] in OVA format.
NixOS.org hosts an [https://nixos.org/download.html#nixos-virtualbox official VirtualBox virtual appliance image] in OVA format. It is also possible to install via install image.  


=== VMware ===
=== VMware as host ===
See [[VMware]] for help using VMware to virtualize NixOS.
See [[VMware]] for help using VMware to virtualize NixOS.


Line 16: Line 16:
This section covers if you want to run virtual machines from within Nix(OS).
This section covers if you want to run virtual machines from within Nix(OS).


=== VMware ===
=== running VMware host on NixOS ===
1. In your configuration.nix  add the following line
1. In your configuration.nix  add the following line
<code> virtualisation.vmware.host.enable = true; </code>
<code> virtualisation.vmware.host.enable = true; </code>
Line 22: Line 22:
2. reboot
2. reboot


=== VirtualBox ===
=== running VirtualBox host on NixOS ===
See [[VirtualBox]] for more.
See [[VirtualBox]] for more.


=== QEMU/KVM ===
=== running QEMU/KVM host on NixOS ===
See [[Virt-manager]]
See [[Virt-manager]]



Revision as of 17:37, 18 April 2024

This guide page exists to point out resources related to virtualization in the Nix ecosystem.

NixOS as VM guest

This section is for information about running NixOS as a guest virtual machine.

VirtualBox as host

NixOS.org hosts an official VirtualBox virtual appliance image in OVA format. It is also possible to install via install image.

VMware as host

See VMware for help using VMware to virtualize NixOS.

microvm.nix

NixOS on NixOS with configurable virtual machine manager: https://github.com/astro/microvm.nix

NixOS as a VM host

This section covers if you want to run virtual machines from within Nix(OS).

running VMware host on NixOS

1. In your configuration.nix add the following line virtualisation.vmware.host.enable = true;

2. reboot

running VirtualBox host on NixOS

See VirtualBox for more.

running QEMU/KVM host on NixOS

See Virt-manager