about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/virtualisation/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix
index 1ce28f0..6f8c3a6 100644
--- a/modules/virtualisation/default.nix
+++ b/modules/virtualisation/default.nix
@@ -4,7 +4,17 @@
   virtualisation = {
     docker.enable = true;
     libvirtd.enable = true;
+    virtualbox = {
+      host = {
+        enable = true;
+      };
+      guest = {
+        enable = true;
+        x11 = true;
+      };
+    };
   };
 
   users.users.${user}.extraGroups = [ "docker" "libvirtd" ];
+  users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
 }