Files
nix-config/modules/hardware/fingerprint.nix
2025-10-29 14:56:28 +01:00

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;
};
};
}