mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 12:09:45 +01:00
Merge pull request #12 from dancek/patch-1
Thinkpad X220i: configure more hardware
This commit is contained in:
commit
49fd276328
1 changed files with 19 additions and 0 deletions
|
@ -11,4 +11,23 @@
|
|||
|
||||
# TLP Linux Advanced Power Management
|
||||
services.tlp.enable = true;
|
||||
|
||||
# hard disk protection if the laptop falls
|
||||
services.hdapsd.enable = true;
|
||||
|
||||
# trackpoint support (touchpad disabled in this config)
|
||||
hardware.trackpoint.enable = true;
|
||||
hardware.trackpoint.emulateWheel = true;
|
||||
|
||||
# alternatively, touchpad with two-finger scrolling
|
||||
#services.xserver.libinput.enable = true;
|
||||
|
||||
# enable volume control buttons
|
||||
sound.enableMediaKeys = true;
|
||||
|
||||
# fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`)
|
||||
#services.fprintd.enable = true;
|
||||
#security.pam.services.login.fprintAuth = true;
|
||||
#security.pam.services.xscreensaver.fprintAuth = true;
|
||||
# similarly for other PAM providers
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue