mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
Rename services.virtualboxHost -> programs.virtualbox
VirtualBox is an application, not a system service.
This commit is contained in:
parent
59bbd41599
commit
687caebfcb
|
@ -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" ]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue