Add virutalbox
This commit is contained in:
+8
-2
@@ -12,14 +12,20 @@
|
|||||||
# Give my user access to the libvirtd process
|
# Give my user access to the libvirtd process
|
||||||
users.users.greg.extraGroups = [ "libvirtd" ];
|
users.users.greg.extraGroups = [ "libvirtd" ];
|
||||||
|
|
||||||
virtualisation.libvirtd = {
|
virtualisation = {
|
||||||
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart
|
onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.waydroid = {
|
waydroid = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualbox.host.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.extraGroups.vboxusers.members = [ "greg" ];
|
||||||
|
|
||||||
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user