From 8914e1af6d1becc92eae50eedfd5dccfeacb876d Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sat, 15 Aug 2015 17:33:37 +0300 Subject: 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'. ```` --- nixos/modules/installer/tools/nixos-generate-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/installer') diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 9010478662cc..39ef4c51ba10 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -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;" } -- cgit 1.4.1