hardware/peripherals: remove fprint-sensor

This commit is contained in:
Infinidoge 2024-07-26 11:05:34 -04:00
parent 7c4d75bf46
commit ead9d4f9c1
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 3 additions and 17 deletions

View file

@ -1,16 +0,0 @@
{ config, options, lib, pkgs, ... }:
with lib;
with lib.our;
let
# Since it is aliased
cfg = config.services.fprintd;
in
{
options.modules.hardware.peripherals.fprint-sensor = mkOpt types.attrs { };
config.services.fprintd = mkAliasDefinitions options.modules.hardware.peripherals.fprint-sensor;
config.persist.directories = mkIf cfg.enable [
"/var/lib/fprint"
];
}