mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
8 lines
268 B
Nix
8 lines
268 B
Nix
let
|
|
msg = "Importing <nixpkgs/nixos/modules/programs/virtualbox.nix> is "
|
|
+ "deprecated, please use `virtualisation.virtualbox.host.enable = true' "
|
|
+ "instead.";
|
|
in {
|
|
config.warnings = [ msg ];
|
|
config.virtualisation.virtualbox.host.enable = true;
|
|
}
|