feat: enable hyprlock u2fAuth/fprintAuth

This commit is contained in:
Ahwx 2025-03-31 21:29:53 +02:00
parent 07c610ad3a
commit 9dfd94b35a

View file

@ -1,5 +1,11 @@
{ pkgs, inputs, config, username, host, ...}: {
pkgs,
inputs,
config,
username,
host,
...
}:
{ {
services.udev.packages = [ pkgs.yubikey-personalization ]; services.udev.packages = [ pkgs.yubikey-personalization ];
@ -17,11 +23,11 @@
sudo.u2fAuth = true; sudo.u2fAuth = true;
swaylock.fprintAuth = if (host == "sakura") then true else false; swaylock.fprintAuth = if (host == "sakura") then true else false;
# No longer using Hyprlock, might stay here for if I ever switch to it again. # No longer using Hyprlock, might stay here for if I ever switch to it again.
# hyprlock.u2fAuth = true; hyprlock.u2fAuth = true;
# hyprlock.fprintAuth = if (host == "sakura") then true else false; hyprlock.fprintAuth = if (host == "sakura") then true else false;
}; };
}; };
services.fprintd.enable = if (host == "sakura") then true else false; services.fprintd.enable = if (host == "sakura") then true else false;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [