Category:Virtualization: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
|virtualisation.libvirtd.enable = true; | |virtualisation.libvirtd.enable = true; | ||
<nowiki>#</nowiki> if you use libvirtd on a desktop environment | <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 | programs.virt-manager.enable = true; # can be used to manage non-local hosts as well | ||
|- | |- |
Revision as of 17:05, 24 April 2024
This guide page exists to point out resources related to virtualization in the Nix ecosystem.
You can use
- QEMU/KVM (see Virt-manager)
- VirtualBox
- VMware
for virtualization. You can use Containers as well.
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 | |
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 |
Pages in category "Virtualization"
The following 14 pages are in this category, out of 14 total.