nixos-generate-config: Don't enable vbox guest via deprecated option

Avoids this warning when running `nixos-rebuild switch`:
````
building Nix...
building the system configuration...
trace: Obsolete option `services.virtualboxGuest.enable' is used. It was renamed to `virtualisation.virtualbox.guest.enable'.
````
This commit is contained in:
Tuomas Tynkkynen 2015-08-15 17:33:37 +03:00 committed by Bjørn Forsman
parent 67c9a485b7
commit 8914e1af6d

View File

@ -235,7 +235,7 @@ chomp $virt;
# Check if we're a VirtualBox guest. If so, enable the guest
# additions.
if ($virt eq "oracle") {
push @attrs, "services.virtualboxGuest.enable = true;"
push @attrs, "virtualisation.virtualbox.guest.enable = true;"
}