module: add peripherals/fprint-sensor

This commit is contained in:
Infinidoge 2022-02-01 09:26:15 -05:00
parent 4ce078113f
commit 8692130d5e
3 changed files with 19 additions and 2 deletions

View 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;
}