feat: add fprintd signin and enabled in kokoro system config

This commit is contained in:
Ceferino Patino 2026-04-30 11:35:01 -05:00
commit 1641129ed5
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
config,
lib,
namespace,
...
}: let
inherit (lib) mkIf mkEnableOption;
inherit (lib.${namespace}) getAttrByNamespace mkOptionsWithNamespace;
base = "${namespace}.hardware.fingerprint";
cfg = getAttrByNamespace config base;
in {
options = mkOptionsWithNamespace base {
enable = mkEnableOption "fingerprint signins";
};
config = mkIf cfg.enable {
services.fprintd = {
enable = true;
};
${namespace}.services.storage.impermanence.folders = ["/var/lib/fprint"];
};
}

View file

@ -24,6 +24,7 @@ in {
hardware = {
battery = enabled;
fingerprint = enabled;
xremap = enabled;
};