From 8dcbba599a827f58d50d490de7b6dd76e0365bc1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 May 2016 16:11:28 +0200 Subject: i3lock with fingerprint support --- hel.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hel.nix b/hel.nix index 4c7868f7..c8d9c616 100644 --- a/hel.nix +++ b/hel.nix @@ -43,7 +43,7 @@ environment.systemPackages = with pkgs; [ git - slock + i3lock shadow (callPackage ./custom/thinklight.nix { thinklight = "kbd_backlight"; }) (callPackage ./utils/nix/rebuild-system.nix {}) @@ -204,6 +204,8 @@ enable = true; drivers = with pkgs; [ samsung-unified-linux-driver ]; }; + + fprintd.enable = true; }; users = { @@ -228,7 +230,9 @@ %wheel ALL=(ALL) NOPASSWD: SYSCTRL ''; - setuidPrograms = ["slock" "mount" "mount.nfs" "umount" "newgrp" "thinklight"]; + setuidPrograms = ["mount" "mount.nfs" "umount" "newgrp" "thinklight"]; + + pam.services."i3lock".fprintAuth = true; }; time.timeZone = "Europe/Berlin"; -- cgit v1.2.3