From 7eccf47e07ddb747656ef47e7866a0146635a04f Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 4 Apr 2025 09:49:14 +0200 Subject: [PATCH] Fix sif fingerprint reader --- flake.nix | 5 +++++ instances/sif/configuration.nix | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index c0090d4..a4f5812 100644 --- a/flake.nix +++ b/flake.nix @@ -234,6 +234,11 @@ sed 's/Broadlink/ZHA/' codes/climate/1946.json > codes/climate/50.json ''; }); + + # can be removed when https://github.com/NixOS/nixpkgs/pull/389711 is merged + libfprint = super.libfprint.overrideAttrs (oldAttrs: { + buildInputs = oldAttrs.buildInputs ++ [ super.nss ]; + }); }; }; diff --git a/instances/sif/configuration.nix b/instances/sif/configuration.nix index c13b532..ed8ab65 100644 --- a/instances/sif/configuration.nix +++ b/instances/sif/configuration.nix @@ -285,13 +285,13 @@ # }; # Power-profiles power-profiles-daemon.enable = true; - # fprintd = { - # enable = true; - # tod = { - # enable = true; - # driver = pkgs.libfprint-2-tod1-goodix; - # }; - # }; + fprintd = { + enable = true; + tod = { + enable = true; + driver = pkgs.libfprint-2-tod1-goodix; + }; + }; }; # Clamav