1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

virtualisation.virtualbox.host: introduce enableExtensionPack

This commit is contained in:
Florian Klink 2018-05-01 22:45:31 +02:00
parent 5a990f5629
commit 92e559212a

View file

@ -6,7 +6,7 @@ let
cfg = config.virtualisation.virtualbox.host;
virtualbox = pkgs.virtualbox.override {
inherit (cfg) enableHardening headless;
inherit (cfg) enableExtensionPack enableHardening headless;
};
kernelModules = config.boot.kernelPackages.virtualbox.override {
@ -30,6 +30,8 @@ in
'';
};
enableExtensionPack = mkEnableOption "VirtualBox extension pack";
addNetworkInterface = mkOption {
type = types.bool;
default = true;