Make fingerprint reader work

And add some settings for hyprlock.
This commit is contained in:
larstvei 2025-10-01 00:02:15 +02:00
parent 8f247b2e6b
commit 887d820452
3 changed files with 39 additions and 2 deletions

View File

@ -11,7 +11,12 @@
../../modules/desktop
];
security.pam.services.hyprlock = { };
services.fprintd.enable = true;
security.pam.services = {
login.fprintAuth = true;
sudo.fprintAuth = true;
hyprlock.fprintAuth = true;
};
networking.hostName = "larstvei-think";

View File

@ -3,10 +3,10 @@
./animations
./bindings
./hypridle
./hyprlock
];
programs.kitty.enable = true;
programs.hyprlock.enable = true;
wayland.windowManager.hyprland = {
enable = true;

View File

@ -0,0 +1,32 @@
{
programs.hyprlock = {
enable = true;
settings = {
background = [
{
monitor = "";
path = "screenshot";
blur_passes = 3;
}
];
input-field = [
{
monitor = "";
size = "600, 100";
position = "0, 0";
halign = "center";
valign = "center";
outline_thickness = 4;
placeholder_text = "";
fade_on_empty = false;
}
];
auth."fingerprint:enabled" = true;
};
};
}