summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/virtualization-virtualbox.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-07-12 09:43:23 +0200
committermakefu <github@syntax-fehler.de>2016-07-12 09:43:23 +0200
commitc6c40da83712ca91ede062d84e31b57448db140f (patch)
tree236b6110c6d1cbfcc1a3f7f50d527e3ac952b740 /makefu/2configs/virtualization-virtualbox.nix
parent941b137408982dfe4e918d4de54fbcfd88fef394 (diff)
m 2 virtualbox: directly retrieve vboxguestextensions
Diffstat (limited to 'makefu/2configs/virtualization-virtualbox.nix')
-rw-r--r--makefu/2configs/virtualization-virtualbox.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefu/2configs/virtualization-virtualbox.nix b/makefu/2configs/virtualization-virtualbox.nix
index 5d84b0284..2b4e24774 100644
--- a/makefu/2configs/virtualization-virtualbox.nix
+++ b/makefu/2configs/virtualization-virtualbox.nix
@@ -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 ];
+ };
+ };
}