Rename services.virtualboxHost -> programs.virtualbox

VirtualBox is an application, not a system service.

+5 -3
+2
nixos/modules/rename.nix
··· 144 144 # DNSCrypt-proxy 145 145 ++ obsolete [ "services" "dnscrypt-proxy" "port" ] [ "services" "dnscrypt-proxy" "localPort" ] 146 146 147 + ++ obsolete [ "services" "virtualboxHost" ] [ "programs" "virtualbox" ] 148 + 147 149 # Options that are obsolete and have no replacement. 148 150 ++ obsolete' [ "boot" "loader" "grub" "bootDevice" ] 149 151 ++ obsolete' [ "boot" "initrd" "luks" "enable" ]
+3 -3
nixos/modules/virtualisation/virtualbox-host.nix
··· 3 3 with lib; 4 4 5 5 let 6 - cfg = config.services.virtualboxHost; 6 + cfg = config.programs.virtualbox; 7 7 virtualbox = config.boot.kernelPackages.virtualbox.override { 8 8 inherit (cfg) enableHardening; 9 9 }; ··· 11 11 in 12 12 13 13 { 14 - options.services.virtualboxHost = { 14 + options.programs.virtualbox = { 15 15 enable = mkOption { 16 16 type = types.bool; 17 17 default = false; 18 18 description = '' 19 - Whether to enable host-side support for VirtualBox. 19 + Whether to enable VirtualBox. 20 20 21 21 <note><para> 22 22 In order to pass USB devices from the host to the guests, the user