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/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
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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
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