From bfb97c9f1cf293d83e219c80868b508d9b90f0a2 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 28 Sep 2024 18:07:09 +0200 Subject: [PATCH] feat: adds fingerprint stuffs --- modules/core/yubikey.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/core/yubikey.nix b/modules/core/yubikey.nix index 4beff35..58ed749 100644 --- a/modules/core/yubikey.nix +++ b/modules/core/yubikey.nix @@ -16,9 +16,16 @@ greetd.u2fAuth = true; sudo.u2fAuth = true; hyprlock.u2fAuth = true; + swaylock.fprintAuth = true; + hyprlock.fprintAuth = true; + # pam.services.swaylock = {}; # Already enabled }; }; + services = { + fprintd.enable = true; + }; + environment.systemPackages = with pkgs; [ yubikey-manager ];