From c1a044ba6864653fa8cc7236fad37fa8a37917d3 Mon Sep 17 00:00:00 2001 From: Yarny0 <41838844+Yarny0@users.noreply.github.com> Date: Sun, 5 Oct 2025 06:13:44 +0200 Subject: [PATCH] linux/common-config: enable media staging drivers This enables the config setting `STAGING_MEDIA`. With our current default (LTS) kernel 6.12.49, it adds these modules to the `modules` output: * dvb-ttpci * sp8870 * ipu3-imgu * max96712 We already enabled staging drivers, as their existence generally won't hurt. I assume the same holds for the subset of media staging drivers. The change is also in line with other distributions, e.g. https://github.com/openSUSE/kernel-source/blob/50583f4464872c4d1abe1a222d75d41027f6d7a7/config/x86_64/default#L9420 https://src.fedoraproject.org/rpms/kernel/blob/9fab601be2e1185cf3aa1658d5f1dc7d6eceb381/f/kernel-x86_64-fedora.config#_7963 https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/blob/46c65b3f38ffaee2caf38255e81a0f611d6ed3a7/config#L9606 https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/tree/debian.master/config/annotations#n13406 --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index e5016ccb87fa..25f96d07e256 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -904,6 +904,7 @@ let # Enable staging drivers. These are somewhat experimental, but # they generally don't hurt. STAGING = yes; + STAGING_MEDIA = yes; }; proc-events = {