feat: adds fprintd for zinnia as well

This commit is contained in:
Ahwx 2025-09-13 17:47:35 +02:00
parent cfe2e227b3
commit ddbca9dbd9

View file

@ -21,14 +21,32 @@
login.u2fAuth = true; login.u2fAuth = true;
greetd.u2fAuth = true; greetd.u2fAuth = true;
sudo.u2fAuth = true; sudo.u2fAuth = true;
swaylock.fprintAuth = if (host == "sakura") then true else false; swaylock.fprintAuth =
if (host == "sakura") then
true
else if (host == "zinnia") 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 if (host == "zinnia") then
true
else
false;
}; };
}; };
services.fprintd.enable = if (host == "sakura") then true else false; services.fprintd.enable =
if (host == "sakura") then
true
else if (host == "zinnia") then
true
else
false;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
yubikey-manager yubikey-manager