diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-06 17:41:26 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-06 17:44:59 +0200 |
commit | c9cb073985bc93c88d92efa778b9deaba5c9a422 (patch) | |
tree | d63c0df09e0997cc84fbf5f416bd7b39190b86df | |
parent | Add ntfs support (diff) | |
download | nixos-config-c9cb073985bc93c88d92efa778b9deaba5c9a422.tar.gz nixos-config-c9cb073985bc93c88d92efa778b9deaba5c9a422.tar.bz2 nixos-config-c9cb073985bc93c88d92efa778b9deaba5c9a422.zip |
Module: Virtualisation: Add virtualbox
-rw-r--r-- | modules/virtualisation/default.nix | 10 |
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" ]; } |