1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 00:49:27 +03:00
nixpkgs/nixos/modules/hardware/video/virtualbox.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
249 B
Nix
Raw Normal View History

{ lib, config, ... }:
let
inherit (config.boot) kernelPackages;
inherit (config.services.xserver) videoDrivers;
in
{
boot.extraModulePackages = lib.mkIf (lib.elem "virtualbox" videoDrivers) [
kernelPackages.virtualboxGuestAdditions
];
}