feat: enable fingerprint authentication

This commit is contained in:
EinEtwas 2024-10-13 20:38:56 +02:00
parent 9b7a6586ca
commit 557ded8286
3 changed files with 11 additions and 0 deletions

View file

@ -21,6 +21,7 @@
./modules/hardware-configuration.nix ./modules/hardware-configuration.nix
./modules/shell.nix ./modules/shell.nix
./modules/wayland.nix ./modules/wayland.nix
./modules/fingerprint.nix
./home ./home
# ./modules/hyprland.nix # ./modules/hyprland.nix
]; ];

View file

@ -67,6 +67,7 @@
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
chromium chromium
fprintd
#home-manager #home-manager
]; ];

9
modules/fingerprint.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs, ...}:
{
services.fprintd = {
enable = true;
};
security.pam.services.login.fprintAuth = true;
security.pam.services.sudo.fprintAuth = true;
}