laptop: add frprint

This commit is contained in:
Lgmrszd 2025-05-17 18:59:44 +04:00
parent c96b8201b5
commit 093fe30a9d
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -95,7 +95,8 @@ in
login.u2fAuth = true; login.u2fAuth = true;
sudo.u2fAuth = true; sudo.u2fAuth = true;
doas.u2fAuth = true; doas.u2fAuth = true;
}; sddm.fprintAuth = lib.mkForce false;
} // lib.attrsets.genAttrs ["sudo" "doas" "kde" "polkit-1"] (service: { rules.auth.fprintd.order = config.security.pam.services.${service}.rules.auth.u2f.order - 100;});
security.pam.u2f = { security.pam.u2f = {
enable = true; enable = true;
settings = { settings = {
@ -449,6 +450,13 @@ in
services.tailscale = { services.tailscale = {
enable = true; enable = true;
}; };
systemd.services.fprintd = {
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "simple";
};
services.fprintd.enable = true;
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;