Merge pull request #14176 from peterhoeg/vbox
virtualbox service: fix use of deprecated option names
This commit is contained in:
commit
e496e5cd75
@ -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…
Reference in New Issue
Block a user