Jump to content

Category:Virtualization: Difference between revisions

m
no edit summary
imported>Astro
(Add advertisement)
mNo edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Overview ==
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 ===
You can use
 
This section is for information about running NixOS as a guest virtual machine.
 
==== VirtualBox ====
 
NixOS.org hosts an [https://nixos.org/download.html#nixos-virtualbox official VirtualBox virtual appliance image] in OVA format.
 
==== VMware ====
 
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).
 
==== VirtualBox ====
 
See [[VirtualBox]] for more.
 


==== QEMU/KVM ====
* QEMU/KVM (see [[Virt-manager]])
* [[VirtualBox]]
* [[VMware]]


See [[Virt-manager]]
for virtualization. You can use [[:Category:Container|containers]] as well.
{| class="wikitable"
|+Install of host and install of guest additions
!NixOS host
!NixOS guest
!Code
|-
|QEMU/KVM
|
|virtualisation.libvirtd.enable = true;
<nowiki>#</nowiki> if you use libvirtd on a desktop environment


programs.virt-manager.enable = true; # can be used to manage non-local hosts as well
|-
|VirtualBox
|
|virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; <nowiki>#</nowiki> unfree Extension Pack nixpkgs.config.allowUnfree = true; virtualisation.virtualbox.host.enableExtensionPack = true;
|-
|VMware
|
|virtualisation.vmware.host.enable = true;
|-
|
|QEMU/KVM
|services.qemuGuest.enable =true;
services.spice-vdagentd.enable = true;
|-
|
|VirtualBox
|virtualisation.virtualbox.guest.enable = true;
virtualisation.virtualbox.guest.x11 = true;
|-
|
|VMware
|services.xserver.videoDrivers = [ "vmware" ];
virtualisation.vmware.guest.enable = true;
|-
|
|microvm.nix
|see  https://github.com/astro/microvm.nix
|}


[[Category:Guide]]
[[Category:Software]]
[[Category:Virtualization]]
[[Category:Desktop]]
[[Category:Server]]
trusted
596

edits