From 311cb2620ac927d088b553ec0748a1b88bd0d414 Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Sun, 9 Nov 2025 22:06:53 +0100 Subject: [PATCH] fingerprints :) --- machines/artemis/modules.nix | 3 ++- modules/hardware/default.nix | 1 + modules/hardware/fingerprint.nix | 18 ++++++++++++++++++ new-host.md | 5 +++++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 modules/hardware/fingerprint.nix diff --git a/machines/artemis/modules.nix b/machines/artemis/modules.nix index f910f2a..e225817 100644 --- a/machines/artemis/modules.nix +++ b/machines/artemis/modules.nix @@ -4,7 +4,7 @@ ]; config.horseman = { - catppuccin.flavor = "macchiato"; + catppuccin.flavor = "mocha"; users.default.enable = true; @@ -40,6 +40,7 @@ audio.enable = true; bluetooth.enable = true; wifi.enable = true; + fingerprint.enable = true; }; network = { diff --git a/modules/hardware/default.nix b/modules/hardware/default.nix index 78ddcd7..295367a 100644 --- a/modules/hardware/default.nix +++ b/modules/hardware/default.nix @@ -4,5 +4,6 @@ ./bluetooth.nix ./gpu/nvidia.nix ./wifi.nix + ./fingerprint.nix ]; } diff --git a/modules/hardware/fingerprint.nix b/modules/hardware/fingerprint.nix new file mode 100644 index 0000000..c6c04de --- /dev/null +++ b/modules/hardware/fingerprint.nix @@ -0,0 +1,18 @@ +{ + lib, + config, + ... +}: let + inherit (lib) mkEnableOption mkIf; + cfg = config.horseman.hardware.fingerprint; +in { + options = { + horseman.hardware.fingerprint = { + enable = mkEnableOption "Enables fingerprint support"; + }; + }; + + config = mkIf cfg.enable { + services.fprintd.enable = true; + }; +} diff --git a/new-host.md b/new-host.md index 2e8135b..e7a62d9 100644 --- a/new-host.md +++ b/new-host.md @@ -13,6 +13,11 @@ 2. Create a new machine entry in the [syncthing module](./modules/network/syncthing.nix). 3. Add the new device to folders. +## Fingerprints + +1. Run `fprintd-enroll --finger ` + +# Apps ## Firefox