diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 254910cf842a..f3dd32386bc9 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -478,7 +478,9 @@ with stdenv.lib; ''} ${optionalString (versionAtLeast version "3.7") '' MEDIA_USB_SUPPORT y - MEDIA_PCI_SUPPORT y + ${optionalString (!(features.chromiumos or false)) '' + MEDIA_PCI_SUPPORT y + ''} ''} # Our initrd init uses shebang scripts, so can't be modular.