nixcfg/modules/nixos/hardware/fingerprint/default.nix

14 lines
329 B
Nix
Raw Normal View History

2024-01-11 11:26:46 +01:00
{ 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; };
}