From c463a78d3b77aa95de172fd23045e9428c8f602a Mon Sep 17 00:00:00 2001 From: Kate Adkins Date: Thu, 26 Jun 2025 14:15:17 +0200 Subject: [PATCH] hinata: make fingerprint reader still work --- nixos/hosts/hinata.nix | 49 +++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/nixos/hosts/hinata.nix b/nixos/hosts/hinata.nix index ee633bb..468d50f 100644 --- a/nixos/hosts/hinata.nix +++ b/nixos/hosts/hinata.nix @@ -23,24 +23,17 @@ let sha256 = "sha256-gr3UvFB6D04he/9zawvQIuwfv0B7fEZb6BGiNAbLids="; }; - nativeBuildInputs = prev.nativeBuildInputs ++ (with pkgs; [ - opencv - cmake - doctest - nss - ]); + nativeBuildInputs = + prev.nativeBuildInputs + ++ (with pkgs; [ + opencv + cmake + doctest + nss + ]); installCheckPhase = ""; - }).overrideAttrs (prev: rec { - version = "1.94.4"; - src = pkgs.fetchFromGitLab { - domain = "gitlab.freedesktop.org"; - owner = "libfprint"; - repo = "fprintd"; - rev = "refs/tags/v${version}"; - hash = "sha256-B2g2d29jSER30OUqCkdk3+Hv5T3DA4SUKoyiqHb8FeU="; - }; }); in @@ -87,18 +80,20 @@ in # Fingerprint reader support. services.fprintd = { enable = true; - package = (pkgs.fprintd.override { - libfprint = libfprint-gpd; - }).overrideAttrs (prev: rec { - version = "1.94.4"; - src = pkgs.fetchFromGitLab { - domain = "gitlab.freedesktop.org"; - owner = "libfprint"; - repo = "fprintd"; - rev = "refs/tags/v${version}"; - hash = "sha256-B2g2d29jSER30OUqCkdk3+Hv5T3DA4SUKoyiqHb8FeU="; - }; - }); + package = + (pkgs.fprintd.override { + libfprint = libfprint-gpd; + }).overrideAttrs + (prev: rec { + version = "1.94.4"; + src = pkgs.fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "libfprint"; + repo = "fprintd"; + rev = "refs/tags/v${version}"; + hash = "sha256-B2g2d29jSER30OUqCkdk3+Hv5T3DA4SUKoyiqHb8FeU="; + }; + }); }; # Support bluetooth.