mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-18 00:49:41 +01:00
8 lines
244 B
Nix
8 lines
244 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
{
|
||
|
# This can be removed when the default kernel is at least version 5.11 due to sof module
|
||
|
boot.kernelPackages = lib.mkIf
|
||
|
(lib.versionOlder pkgs.linux.version "5.11")
|
||
|
(lib.mkDefault pkgs.linuxPackages_latest);
|
||
|
}
|