Category:Virtualization: Difference between revisions

From NixOS Wiki
Klinger (talk | contribs)
mNo edit summary
m Add Xen Hypervisor dom0 to hypervisors table.
Line 20: Line 20:


programs.virt-manager.enable = true; # can be used to manage non-local hosts as well
programs.virt-manager.enable = true; # can be used to manage non-local hosts as well
|-
|Xen Project Hypervisor
|
|virtualisation.xen.enable = true;
|-
|-
|VirtualBox
|VirtualBox
Line 25: Line 31:
|virtualisation.virtualbox.host.enable = true;
|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;
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; <nowiki>#</nowiki> unfree Extension Pack nixpkgs.config.allowUnfree = true; virtualisation.virtualbox.host.enableExtensionPack = true;
|-
|-
|VMware
|VMware
|
|
|virtualisation.vmware.host.enable = true;
|virtualisation.vmware.host.enable = true;
|-
|-
|
|
Line 34: Line 42:
|services.qemuGuest.enable =true;
|services.qemuGuest.enable =true;
services.spice-vdagentd.enable = true;
services.spice-vdagentd.enable = true;
|-
|-
|
|
Line 39: Line 48:
|virtualisation.virtualbox.guest.enable = true;
|virtualisation.virtualbox.guest.enable = true;
virtualisation.virtualbox.guest.x11 = true;
virtualisation.virtualbox.guest.x11 = true;
|-
|-
|
|
Line 44: Line 54:
|services.xserver.videoDrivers = [ "vmware" ];
|services.xserver.videoDrivers = [ "vmware" ];
virtualisation.vmware.guest.enable = true;
virtualisation.vmware.guest.enable = true;
|-
|-
|
|

Revision as of 19:56, 27 October 2024

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

You can use

for virtualization. You can use containers as well.

Install of host and install of guest additions
NixOS host NixOS guest Code
QEMU/KVM virtualisation.libvirtd.enable = true;

# if you use libvirtd on a desktop environment

programs.virt-manager.enable = true; # can be used to manage non-local hosts as well

Xen Project Hypervisor virtualisation.xen.enable = true;
VirtualBox virtualisation.virtualbox.host.enable = true;

users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; # 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