t14s: init

Copied from t495.
This commit is contained in:
dadada
2020-10-25 19:24:43 +01:00
parent e8c5f886b0
commit 42ec21a27c
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
{
imports = [
../.
../../../common/cpu/amd
../../../common/pc/laptop/acpi_call.nix
];
# Force use of the thinkpad_acpi driver for backlight control.
# This allows the backlight save/load systemd service to work.
boot.kernelParams = [ "acpi_backlight=native" ];
# see https://github.com/NixOS/nixpkgs/issues/69289
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.2") pkgs.linuxPackages_latest;
}