Files
nix-config/modules/hardware/fingerprint.nix
2025-10-30 21:59:31 +01:00

22 lines
301 B
Nix

{
config,
pkgs,
lib,
...
}:
let
cfg = config.custom.hardware.fingerprint;
in
{
options.custom.hardware.fingerprint = {
enable = lib.mkEnableOption "Enables fingerprint sensor support";
};
config = lib.mkIf cfg.enable {
services.fprintd = {
enable = true;
};
};
}