2022-12-31 05:52:38 -05:00
|
|
|
{ lib, pkgs, ... }:
|
2020-02-11 13:42:02 -05:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/cpu/amd
|
|
|
|
];
|
|
|
|
|
2020-02-12 04:52:49 -05:00
|
|
|
# see https://github.com/NixOS/nixpkgs/issues/69289
|
2020-02-12 05:57:21 -05:00
|
|
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.2") pkgs.linuxPackages_latest;
|
2021-08-18 05:58:49 -04:00
|
|
|
|
|
|
|
boot.kernelParams = [
|
|
|
|
# Force use of the thinkpad_acpi driver for backlight control.
|
|
|
|
# This allows the backlight save/load systemd service to work.
|
|
|
|
"acpi_backlight=native"
|
|
|
|
];
|
2020-02-11 13:42:02 -05:00
|
|
|
}
|