* Prevent the VirtualBox guest additions from being restarted

constantly by Upstart.  Also move the module to a better location.

svn path=/nixos/trunk/; revision=32565
This commit is contained in:
Eelco Dolstra 2012-02-25 20:10:53 +00:00
parent acea54b3c6
commit d9d6fb58e4

View file

@ -1,4 +1,5 @@
# VirtualBox server
# Module for VirtualBox guests.
{ config, pkgs, ... }:
with pkgs.lib;
@ -32,7 +33,7 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [ ];
environment.systemPackages = [ kernel.virtualboxGuestAdditions ];
boot.extraModulePackages = [ kernel.virtualboxGuestAdditions ];
@ -41,7 +42,7 @@ in
startOn = "started udev";
exec = "${kernel.virtualboxGuestAdditions}/sbin/VBoxService";
exec = "${kernel.virtualboxGuestAdditions}/sbin/VBoxService --foreground";
};
};