m 2 virtualbox: directly retrieve vboxguestextensions

This commit is contained in:
makefu 2016-07-12 09:43:23 +02:00
parent 941b137408
commit c6c40da837
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -14,5 +14,10 @@ in {
nixpkgs.config.virtualbox.enableExtensionPack = true;
users.extraGroups.vboxusers.members = [ "${mainUser.name}" ];
environment.systemPackages = [ vboxguestpkg ];
nixpkgs.config.packageOverrides = super: {
boot.kernelPackages = super.boot.kernelPackages.virtualbox.override {
buildInputs = super.boot.kernelPackages.virtualBox.buildInputs
++ [ vboxguestpkg ];
};
};
}