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

@ -30,6 +30,10 @@ Sets up printing drivers. Currently non-functional, but attempts to include driv
Setup the OpenRazer daemon and install management software. Currently uses RazerGenie, to be replaced by Polychromatic.
*** Fprint Sensor :module:
Setup for the =fprintd= daemon for using fingerprints for authentication. Alias of =services.fprintd=.
** Audio :module:
Sets up computer audio, specifically using PulseAudio.

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