Category:Virtualization: Difference between revisions
m
no edit summary
(Organized in a table. The most important configuration options added.) |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
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. | ||
You can use | You can use | ||
* QEMU/KVM (see [[Virt-manager]]) | * QEMU/KVM (see [[Virt-manager]]) | ||
Line 7: | Line 7: | ||
* [[VMware]] | * [[VMware]] | ||
for virtualization. You can use [[ | for virtualization. You can use [[:Category:Container|containers]] as well. | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Install of host and install of guest additions | |+Install of host and install of guest additions | ||
!NixOS host | !NixOS host | ||
!NixOS guest | !NixOS guest | ||
!Code | !Code | ||
|- | |- | ||
|QEMU/KVM | |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 | |VirtualBox | ||
| | | | ||
|virtualisation.virtualbox.host.enable = true; | |virtualisation.virtualbox.host.enable = true; | ||
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; | users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; <nowiki>#</nowiki> unfree Extension Pack nixpkgs.config.allowUnfree = true; virtualisation.virtualbox.host.enableExtensionPack = true; | ||
<nowiki>#</nowiki> unfree Extension Pack | |||
nixpkgs.config.allowUnfree = true; | |||
virtualisation.virtualbox.host.enableExtensionPack = true; | |||
|- | |- | ||
|VMware | |VMware | ||
Line 50: | Line 50: | ||
|} | |} | ||
[[Category:Software]] | |||
[[Category: | [[Category:Desktop]] | ||
[[Category: | [[Category:Server]] |