From 6c87da8ce5ce752854bda2fe2aa5501ef10c52d0 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 2 Jun 2022 09:34:37 -0500 Subject: [PATCH] Add virutalbox --- hosts/jude/virt.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/hosts/jude/virt.nix b/hosts/jude/virt.nix index 02a6e88..accf728 100644 --- a/hosts/jude/virt.nix +++ b/hosts/jude/virt.nix @@ -12,14 +12,20 @@ # Give my user access to the libvirtd process users.users.greg.extraGroups = [ "libvirtd" ]; - virtualisation.libvirtd = { - enable = true; - onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart + virtualisation = { + libvirtd = { + enable = true; + onBoot = "ignore"; # Do not auto-restart VMs on boot, unless they are marked autostart + }; + + waydroid = { + enable = true; + }; + + virtualbox.host.enable = true; }; - virtualisation.waydroid = { - enable = true; - }; + users.extraGroups.vboxusers.members = [ "greg" ]; boot.extraModprobeConfig = "options kvm_amd nested=1"; }