summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-12-15 07:33:56 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-12-15 17:52:19 +0100
commit245baeb2f63796f5001272c78224d0669df33a26 (patch)
tree1afc1e9bf4da5729969f518cfc4b85dcb4aa9609 /nixos/modules/programs
parenta199eedfced8ab4e1aa8f8ceea7728dbcbcc19b2 (diff)
downloadnixlib-245baeb2f63796f5001272c78224d0669df33a26.tar
nixlib-245baeb2f63796f5001272c78224d0669df33a26.tar.gz
nixlib-245baeb2f63796f5001272c78224d0669df33a26.tar.bz2
nixlib-245baeb2f63796f5001272c78224d0669df33a26.tar.lz
nixlib-245baeb2f63796f5001272c78224d0669df33a26.tar.xz
nixlib-245baeb2f63796f5001272c78224d0669df33a26.tar.zst
nixlib-245baeb2f63796f5001272c78224d0669df33a26.zip
nixos/virtualbox: Note about "vboxusers" group.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/virtualbox-host.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/nixos/modules/programs/virtualbox-host.nix b/nixos/modules/programs/virtualbox-host.nix
index c0cf49e2aacf..9b0446c1047c 100644
--- a/nixos/modules/programs/virtualbox-host.nix
+++ b/nixos/modules/programs/virtualbox-host.nix
@@ -12,7 +12,18 @@ in
 
 {
   options.services.virtualboxHost = {
-    enable = mkEnableOption "VirtualBox Host support";
+    enable = mkOption {
+      type = types.bool;
+      default = false;
+      description = ''
+        Whether to enable host-side support for VirtualBox.
+
+        <note><para>
+          In order to pass USB devices from the host to the guests, the user
+          needs to be in the <literal>vboxusers</literal> group.
+        </para></note>
+      '';
+    };
 
     addNetworkInterface = mkOption {
       type = types.bool;