m 2 virtualbox: directly retrieve vboxguestextensions
This commit is contained in:
parent
941b137408
commit
c6c40da837
@ -14,5 +14,10 @@ in {
|
|||||||
nixpkgs.config.virtualbox.enableExtensionPack = true;
|
nixpkgs.config.virtualbox.enableExtensionPack = true;
|
||||||
|
|
||||||
users.extraGroups.vboxusers.members = [ "${mainUser.name}" ];
|
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 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user