diff options
author | David Anderson <dave@natulte.net> | 2020-03-11 00:09:55 -0700 |
---|---|---|
committer | David Anderson <dave@natulte.net> | 2020-03-11 09:34:12 -0700 |
commit | 3d983701f9f6f247d272adb46d834bf591a47938 (patch) | |
tree | 87f0f22075f9bc95fd43b90b69df4623a738cb75 /lenovo | |
parent | 62d7c2eddf7d7cf4bb0fd10da37970a4caaca9d3 (diff) |
lenovo/thinkpad/t495: init from e495.
The E495 and T495 are based on the same core Ryzen platform, so the
E495 tweaks apply similarly to the T495.
Tested on my own T495, works well.
Diffstat (limited to 'lenovo')
-rw-r--r-- | lenovo/thinkpad/t495/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lenovo/thinkpad/t495/default.nix b/lenovo/thinkpad/t495/default.nix new file mode 100644 index 0000000..51ddb5c --- /dev/null +++ b/lenovo/thinkpad/t495/default.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ../../../common/cpu/amd + ]; + + # see https://github.com/NixOS/nixpkgs/issues/69289 + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.2") pkgs.linuxPackages_latest; +} |