nixcfg/modules/nixos/hardware/fingerprint/default.nix
2024-01-11 10:31:04 +00:00

14 lines
329 B
Nix

{ options, config, pkgs, lib, ... }:
with lib;
with lib.plusultra;
let cfg = config.plusultra.hardware.fingerprint;
in
{
options.plusultra.hardware.fingerprint = with types; {
enable = mkBoolOpt false "Whether or not to enable fingerprint support.";
};
config = mkIf cfg.enable { services.fprintd.enable = true; };
}