bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
7 lines
243 B
Nix
7 lines
243 B
Nix
{ lib, config, ... }:
|
|
let
|
|
inherit (config.boot) kernelPackages;
|
|
inherit (config.services.xserver) videoDrivers;
|
|
in {
|
|
boot.extraModulePackages = lib.mkIf (lib.elem "virtualbox" videoDrivers) [ kernelPackages.virtualboxGuestAdditions ];
|
|
}
|