module: add peripherals/fprint-sensor
This commit is contained in:
parent
4ce078113f
commit
8692130d5e
3 changed files with 19 additions and 2 deletions
11
modules/modules/hardware/peripherals/fprint-sensor.nix
Normal file
11
modules/modules/hardware/peripherals/fprint-sensor.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, options, lib, pkgs, ... }:
|
||||
with lib;
|
||||
with lib.hlissner;
|
||||
let
|
||||
cfg = config.modules.hardware.peripherals.fprint-sensor;
|
||||
in
|
||||
{
|
||||
options.modules.hardware.peripherals.fprint-sensor = mkOpt types.attrs { };
|
||||
|
||||
config.services.fprintd = mkAliasDefinitions options.modules.hardware.peripherals.fprint-sensor;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue