depot/third_party/nixpkgs/nixos/modules/programs/virtualbox.nix

9 lines
268 B
Nix
Raw Normal View History

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;
}