diff options
Diffstat (limited to 'modules/workstation')
-rw-r--r-- | modules/workstation/hardware/default.nix | 2 | ||||
-rw-r--r-- | modules/workstation/hardware/libinput/default.nix | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/modules/workstation/hardware/default.nix b/modules/workstation/hardware/default.nix index 3c33ee2b4a1b..4ff78f77cae7 100644 --- a/modules/workstation/hardware/default.nix +++ b/modules/workstation/hardware/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { - imports = [ ./keyboard ./yubikey ]; + imports = [ ./keyboard ./libinput ./yubikey ]; environment.systemPackages = with pkgs; [ ddrescue ]; diff --git a/modules/workstation/hardware/libinput/default.nix b/modules/workstation/hardware/libinput/default.nix new file mode 100644 index 000000000000..c3a56e22feb7 --- /dev/null +++ b/modules/workstation/hardware/libinput/default.nix @@ -0,0 +1,13 @@ +{ ... }: + +{ + environment.etc."libinput/local-overrides.quirks".text = '' + [Google Chromebook Eve] + MatchUdevType=touchpad + MatchName=ACPI0C50:00 18D1:5028 + MatchDMIModalias=dmi:*svnGoogle:pnEve* + ModelChromebook=1 + AttrPressureRange=6:4 + AttrThumbPressureThreshold=45 + ''; +} |