15 lines
291 B
Nix
15 lines
291 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;
|
|
};
|
|
};
|
|
}
|