1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-05 18:49:40 +01:00
nixos-hardware/lenovo/thinkpad/x1-extreme/gen4/default.nix
2022-07-01 20:54:40 +02:00

16 lines
360 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ 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
'';
}