mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
fix
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.system.fingerprint;
|
||||
in
|
||||
{
|
||||
options.my.system.fingerprint = {
|
||||
enable = lib.mkEnableOption "fingerprint authentication";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.fprintd.enable = true;
|
||||
|
||||
security.pam.services = {
|
||||
login.fprintAuth = true;
|
||||
sudo.fprintAuth = true;
|
||||
greetd.fprintAuth = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user