Merge pull request #429 from xfix/lenovo-gen4

thinkpad/x1-extreme/gen4: add module
This commit is contained in:
Jörg Thalheim 2022-07-01 21:04:22 +02:00 committed by GitHub
commit c530838143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ config, lib, ... }:
{
imports = [
../.
];
# New ThinkPads have a different TrackPoint manufacturer/name.
hardware.trackpoint.device = "TPPS/2 Elan TrackPoint";
# 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
'';
}