mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
9 lines
268 B
Nix
9 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;
|
|
}
|