1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-15 07:29:41 +01:00
nixos-hardware/lenovo/thinkpad/x1-extreme/gen3/default.nix

20 lines
469 B
Nix
Raw Normal View History

2024-09-28 18:36:13 +02:00
{ lib, ... }:
{
imports = [
../.
];
# New ThinkPads have a different TrackPoint manufacturer/name.
hardware.trackpoint.device = "TPPS/2 Elan TrackPoint";
# Fix clickpad (clicking by depressing the touchpad).
boot.kernelParams = [ "psmouse.synaptics_intertouch=0" ];
# Set the right DPI. xdpyinfo says the screen is 677x423 mm but
# it actually is 344×215 mm.
services.xserver.monitorSection = lib.mkDefault ''
DisplaySize 344 215
'';
}