From acc4cf70af42754a499ef8c54ce6f84dbce3b27b Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 18 Feb 2026 19:32:10 +0100 Subject: [PATCH] linux/common-config: Make Nova depend on Rust support Otherwise, when building for a platform without Rust support, then the scripts for applying the kernel configuration will report that the option was unused. --- pkgs/os-specific/linux/kernel/common-config.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 5d45d4526774..0a93af952b4d 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -565,10 +565,6 @@ let # Enable CEC over DisplayPort DRM_DP_CEC = whenOlder "6.10" yes; DRM_DISPLAY_DP_AUX_CEC = whenAtLeast "6.10" yes; - - # Do not enable Nova drivers, which are still WIP. This is the Kconfig default. - NOVA_CORE = whenAtLeast "6.15" no; - DRM_NOVA = whenAtLeast "6.16" no; } // lib.optionalAttrs @@ -606,6 +602,10 @@ let DRM_PANIC_SCREEN = whenAtLeast "6.12" (freeform "kmsg"); DRM_PANIC_SCREEN_QR_CODE = whenAtLeast "6.12" yes; + + # Do not enable Nova drivers, which are still WIP. This is the Kconfig default. + NOVA_CORE = whenAtLeast "6.15" no; + DRM_NOVA = whenAtLeast "6.16" no; }; sound = {