mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-20 09:59:42 +01:00
Add fingerprint support for Lenovo Legion 16ARHA7
This commit is contained in:
parent
d623635bb7
commit
753176b57b
1 changed files with 10 additions and 0 deletions
|
@ -18,4 +18,14 @@ in
|
||||||
|
|
||||||
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
|
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
|
||||||
services.xserver.dpi = 189;
|
services.xserver.dpi = 189;
|
||||||
|
|
||||||
|
# Enable fingerprint reader
|
||||||
|
services.fprintd = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.fprintd-tod;
|
||||||
|
tod = {
|
||||||
|
enable = true;
|
||||||
|
driver = pkgs.libfprint-2-tod1-elan;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue