14 lines
329 B
Nix
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; };
|
|
}
|