perispherals/fprint-sensor: change cfg to account for alias

This commit is contained in:
Infinidoge 2024-04-28 01:56:50 -04:00
parent b4d2cb1880
commit 88ae136456
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -2,7 +2,8 @@
with lib;
with lib.our;
let
cfg = config.modules.hardware.peripherals.fprint-sensor;
# Since it is aliased
cfg = config.services.fprintd;
in
{
options.modules.hardware.peripherals.fprint-sensor = mkOpt types.attrs { };