hermes: Enable fingerprint sensor
With great effort, I was able to register two fingers, but it doesn't work for screen unlocking yet. It just doesn't detect correctly.
This commit is contained in:
parent
6f7d937ce3
commit
41eed4c610
1 changed files with 18 additions and 7 deletions
|
@ -27,13 +27,24 @@
|
|||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.xserver.libinput = {
|
||||
enable = true;
|
||||
touchpad = {
|
||||
naturalScrolling = true;
|
||||
middleEmulation = true;
|
||||
tapping = true;
|
||||
environment.systemPackages = [
|
||||
pkgs.fprintd
|
||||
];
|
||||
|
||||
services = {
|
||||
# Enable fingerprint sensor
|
||||
fprintd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
xserver.libinput = {
|
||||
enable = true;
|
||||
touchpad = {
|
||||
naturalScrolling = true;
|
||||
middleEmulation = true;
|
||||
tapping = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue