diff options
author | makefu <github@syntax-fehler.de> | 2016-07-12 09:43:23 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-12 09:43:23 +0200 |
commit | c6c40da83712ca91ede062d84e31b57448db140f (patch) | |
tree | 236b6110c6d1cbfcc1a3f7f50d527e3ac952b740 /makefu/2configs | |
parent | 941b137408982dfe4e918d4de54fbcfd88fef394 (diff) |
m 2 virtualbox: directly retrieve vboxguestextensions
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/virtualization-virtualbox.nix | 7 |
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 ]; + }; + }; } |