From 2951a4f4b0b33ae266d0cd98f693023c6ed99577 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Sun, 24 Dec 2017 11:17:39 +0000 Subject: [PATCH] thinkpad: move fprintd comment from X220 to parent profile --- lenovo/thinkpad/default.nix | 3 +++ lenovo/thinkpad/x220/default.nix | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lenovo/thinkpad/default.nix b/lenovo/thinkpad/default.nix index 03d9dff..9b82b8b 100644 --- a/lenovo/thinkpad/default.nix +++ b/lenovo/thinkpad/default.nix @@ -9,4 +9,7 @@ hardware.trackpoint.enable = lib.mkDefault true; services.tlp.enable = lib.mkDefault true; services.xserver.libinput.enable = lib.mkDefault true; + + # Fingerprint reader: login and unlock with fingerprint (if you add one with `fprintd-enroll`) + # services.fprintd.enable = true; } diff --git a/lenovo/thinkpad/x220/default.nix b/lenovo/thinkpad/x220/default.nix index 285d13e..d3e723d 100644 --- a/lenovo/thinkpad/x220/default.nix +++ b/lenovo/thinkpad/x220/default.nix @@ -5,12 +5,5 @@ # hard disk protection if the laptop falls services.hdapsd.enable = lib.mkDefault 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 - services.xserver.videoDrivers = [ "intel" ]; }