Rename services.virtualboxHost -> programs.virtualbox

VirtualBox is an application, not a system service.
This commit is contained in:
Eelco Dolstra
2015-08-12 14:12:21 +02:00
parent 59bbd41599
commit 687caebfcb
2 changed files with 5 additions and 3 deletions
@@ -3,7 +3,7 @@
with lib;
let
cfg = config.services.virtualboxHost;
cfg = config.programs.virtualbox;
virtualbox = config.boot.kernelPackages.virtualbox.override {
inherit (cfg) enableHardening;
};
@@ -11,12 +11,12 @@ let
in
{
options.services.virtualboxHost = {
options.programs.virtualbox = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable host-side support for VirtualBox.
Whether to enable VirtualBox.
<note><para>
In order to pass USB devices from the host to the guests, the user