From 296bae25a7ef7c6e0d7ab4216d852bcd3f23ae36 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Sat, 28 Feb 2026 01:21:20 +0100 Subject: [PATCH] feat: `zinnia` -> `april` as zinnia has been retired and april has replaced her --- modules/core/yubikey.nix | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/modules/core/yubikey.nix b/modules/core/yubikey.nix index 2ab5760..e73a4c8 100644 --- a/modules/core/yubikey.nix +++ b/modules/core/yubikey.nix @@ -25,7 +25,7 @@ swaylock.fprintAuth = if (host == "sakura") then true - else if (host == "zinnia") then + else if (host == "april") then true else false; @@ -33,20 +33,32 @@ hyprlock.fprintAuth = if (host == "sakura") then true - else if (host == "zinnia") then + else if (host == "april") then true else false; }; }; - services.fprintd.enable = - if (host == "sakura") then - true - else if (host == "zinnia") then - true - else - false; + services.fprintd = { + enable = + if (host == "sakura") then + true + else if (host == "april") then + true + else + false; + #tod.enable = if (config.services.fprintd.enable) then true else false; + #tod.driver = + # if (host == "sakura") then + # pkgs.libfprint-2-tod1-goodix + # else if (host == "april") then + # pkgs.libfprint-2-tod1-vfs0090 + # else + # null; + }; + + nixpkgs.config.allowBroken = true; environment.systemPackages = with pkgs; [ yubikey-manager