mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
The common/pc/laptop/ssd folder was apparently moved a level up and was replaced by a symlink to keep things working. We can consolidate this now.
20 lines
679 B
Nix
20 lines
679 B
Nix
{ lib, pkgs, ... }: {
|
||
imports = [
|
||
../../../lenovo/thinkpad
|
||
../../../common/cpu/amd
|
||
../../../common/cpu/amd/pstate.nix
|
||
../../../common/gpu/amd
|
||
../../../common/pc/laptop
|
||
../../../common/pc/ssd
|
||
];
|
||
|
||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||
hardware.trackpoint.device = lib.mkDefault "TPPS/2 Elan TrackPoint";
|
||
|
||
services.fprintd.enable = lib.mkDefault true;
|
||
|
||
# kernel versions below 6.0 don’t contain ACPI suspend2idle drivers for the Z-series’ AMD hardware
|
||
# my Z13 froze after waking up from suspend/ hibernate
|
||
services.logind.lidSwitch = lib.mkIf (lib.versionOlder pkgs.linux.version "6.00") (lib.mkDefault "lock");
|
||
}
|