From ddbca9dbd99015443c92a993a1978e40d625e5a5 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 13 Sep 2025 17:47:35 +0200 Subject: [PATCH] feat: adds `fprintd` for zinnia as well --- modules/core/yubikey.nix | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/modules/core/yubikey.nix b/modules/core/yubikey.nix index 36080f0..cb26b94 100644 --- a/modules/core/yubikey.nix +++ b/modules/core/yubikey.nix @@ -21,14 +21,32 @@ login.u2fAuth = true; greetd.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. 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; [ yubikey-manager