[WIP] Many things:

- `gammastep`
- `sudo` with fingerprints that fallbacks to normal password and works
  with `swaylock`
This commit is contained in:
Andrea Ciceri 2022-10-03 15:41:03 +02:00
parent 74a7f488f0
commit 05af2601a0
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
6 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
services.fprintd = {
enable = true;
};
security.polkit.enable = true; # TODO needed?
security.pam.services.swaylock.text = ''
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth sufficient pam_fprintd.so
'';
}