mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-19 16:09:19 +03:00
virtualbox service: fix use of deprecated option names
This commit is contained in:
parent
e2cbf68786
commit
8d1660ce14
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
let
|
let
|
||||||
msg = "Importing <nixpkgs/nixos/modules/programs/virtualbox.nix> is "
|
msg = "Importing <nixpkgs/nixos/modules/programs/virtualbox.nix> is "
|
||||||
+ "deprecated, please use `services.virtualboxHost.enable = true' "
|
+ "deprecated, please use `virtualisation.virtualbox.host.enable = true' "
|
||||||
+ "instead.";
|
+ "instead.";
|
||||||
in {
|
in {
|
||||||
config.warnings = [ msg ];
|
config.warnings = [ msg ];
|
||||||
config.services.virtualboxHost.enable = true;
|
config.virtualisation.virtualbox.host.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue