diff --git a/nixos/modules/hardware/facter/camera/ipu6.nix b/nixos/modules/hardware/facter/camera/ipu6.nix index 6acb5d597051..5319d8bf3d49 100644 --- a/nixos/modules/hardware/facter/camera/ipu6.nix +++ b/nixos/modules/hardware/facter/camera/ipu6.nix @@ -104,12 +104,12 @@ in config.warnings = let - isKernel6_16 = config.boot.kernelPackages.kernel.version == "6.16"; + isKernel6_16OrLater = lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.16"; inherit (detected.camera) ipu6; in - lib.optional (isKernel6_16 && ipu6.enable) '' - A regression bug can occur when combining ipu6 with kernel version 6.16. - This will most likely prevent your system from properely suspending or shutting down. - For more information see: https://github.com/intel/ipu6-drivers/issues/372 + lib.optional (isKernel6_16OrLater && ipu6.enable) '' + A regression bug can occur when combining ipu6 with kernel version 6.16 or later. + This will most likely prevent your system from properly suspending or shutting down. + For more information see: https://github.com/intel/ipu6-drivers/issues/381 ''; }