mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
* 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:
parent
acea54b3c6
commit
d9d6fb58e4
|
@ -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";
|
||||
};
|
||||
|
||||
};
|
Loading…
Reference in a new issue