3
0
Fork 0
forked from mirrors/nixpkgs

Rename services.virtualboxHost -> programs.virtualbox

VirtualBox is an application, not a system service.
This commit is contained in:
Eelco Dolstra 2015-08-12 14:11:03 +02:00
parent 59bbd41599
commit 687caebfcb
2 changed files with 5 additions and 3 deletions

View file

@ -144,6 +144,8 @@ in zipModules ([]
# DNSCrypt-proxy
++ obsolete [ "services" "dnscrypt-proxy" "port" ] [ "services" "dnscrypt-proxy" "localPort" ]
++ obsolete [ "services" "virtualboxHost" ] [ "programs" "virtualbox" ]
# Options that are obsolete and have no replacement.
++ obsolete' [ "boot" "loader" "grub" "bootDevice" ]
++ obsolete' [ "boot" "initrd" "luks" "enable" ]

View file

@ -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