Add lenovo-thinkpad-p1 (#266)

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Pavel Nazarov
2021-06-01 07:30:09 +03:00
committed by GitHub
parent d38958a6aa
commit b2186d6c3c
6 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{ 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);
}