repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
grafana-alloy: don't build the frontend twice
[NixPkgs.git]
/
nixos
/
modules
/
hardware
/
video
/
virtualbox.nix
blob
31ed92b7d148e9152f0f353a9d84e426aa190c48
1
{ lib, config, ... }:
2
let
3
inherit (config.boot) kernelPackages;
4
inherit (config.services.xserver) videoDrivers;
5
in {
6
boot.extraModulePackages = lib.mkIf (lib.elem "virtualbox" videoDrivers) [ kernelPackages.virtualboxGuestAdditions ];
7
}