@@ -18,7 +18,8 @@ in
../../../nixos/modules/hardware/networking
../../../nixos/modules/hardware/sound
../../../nixos/modules/hardware/bluetooth
- ../../../nixos/modules/hardware/biometric/fingerprint
+ ../../../nixos/modules/hardware/biometric/biopass.nix
+ # ../../../nixos/modules/hardware/biometric/fingerprint
../../../nixos/modules/hardware/battery
../../../nixos/modules/desktop/hyprland
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, openssl, onnxruntime, glib, gtk3 }:
+
+stdenv.mkDerivation rec {
+ pname = "biopass";
+ version = "1.4.1";
+ src = fetchFromGitHub {
+ owner = "ticklabvn";
+ repo = "biopass";
+ rev = "v${version}";
+ hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
+ };
+ nativeBuildInputs = [ cmake pkg-config ];
+ buildInputs = [ openssl onnxruntime glib gtk3 ];
+ meta = with lib; {
+ description = "An alternative to Windows Hello/Howdy";
+ homepage = "https://github.com/TickLabVN/biopass";
+ license = licenses.mit;
+ platforms = platforms.linux;
+}