14f09e01c1
We will simply rename the previous module and add a warning whenever the module is included directly, pointing the user to the right option and also enable it as well (in case somebody has missed the option and is wondering why VirtualBox doesn't work anymore). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
8 lines
254 B
Nix
8 lines
254 B
Nix
let
|
|
msg = "Importing <nixpkgs/nixos/modules/programs/virtualbox.nix> is "
|
|
+ "deprecated, please use `services.virtualboxHost.enable = true' "
|
|
+ "instead.";
|
|
in {
|
|
config.warnings = [ msg ];
|
|
config.services.virtualboxHost.enable = true;
|
|
}
|