mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
thinkpad/x1-extreme/gen3: add module
This commit is contained in:
parent
25e16f6c66
commit
9fe0e21c99
3 changed files with 21 additions and 0 deletions
19
lenovo/thinkpad/x1-extreme/gen3/default.nix
Normal file
19
lenovo/thinkpad/x1-extreme/gen3/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue