mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:08:12 +09:00
waylock fingerprint
This commit is contained in:
@@ -15,5 +15,12 @@ in
|
|||||||
services.systemd-lock-handler.enable = true;
|
services.systemd-lock-handler.enable = true;
|
||||||
|
|
||||||
security.pam.services.swaylock.fprintAuth = true;
|
security.pam.services.swaylock.fprintAuth = true;
|
||||||
|
|
||||||
|
# PAM authentication is serial. Let a supplied password succeed before
|
||||||
|
# starting fprintd, whose scan otherwise blocks password verification until
|
||||||
|
# its timeout expires. Submit an empty password to start fingerprint
|
||||||
|
# authentication in upstream swaylock.
|
||||||
|
security.pam.services.swaylock.rules.auth.fprintd.order =
|
||||||
|
config.security.pam.services.swaylock.rules.auth.unix.order + 50;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user