feat: enable fingerprint authentication
This commit is contained in:
parent
9b7a6586ca
commit
557ded8286
3 changed files with 11 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
./modules/hardware-configuration.nix
|
||||
./modules/shell.nix
|
||||
./modules/wayland.nix
|
||||
./modules/fingerprint.nix
|
||||
./home
|
||||
# ./modules/hyprland.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
chromium
|
||||
fprintd
|
||||
#home-manager
|
||||
];
|
||||
|
||||
|
|
|
|||
9
modules/fingerprint.nix
Normal file
9
modules/fingerprint.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ...}:
|
||||
{
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
security.pam.services.login.fprintAuth = true;
|
||||
security.pam.services.sudo.fprintAuth = true;
|
||||
}
|
||||
Loading…
Reference in a new issue