Rename services.virtualboxHost -> programs.virtualbox

VirtualBox is an application, not a system service.

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