fingerprints :)
This commit is contained in:
parent
7bca3bbe77
commit
311cb2620a
4 changed files with 26 additions and 1 deletions
|
|
@ -4,5 +4,6 @@
|
|||
./bluetooth.nix
|
||||
./gpu/nvidia.nix
|
||||
./wifi.nix
|
||||
./fingerprint.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
18
modules/hardware/fingerprint.nix
Normal file
18
modules/hardware/fingerprint.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
cfg = config.horseman.hardware.fingerprint;
|
||||
in {
|
||||
options = {
|
||||
horseman.hardware.fingerprint = {
|
||||
enable = mkEnableOption "Enables fingerprint support";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.fprintd.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue