power stuff and disable docker
This commit is contained in:
18
modules/hardware/fingerprint.nix
Normal file
18
modules/hardware/fingerprint.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let cfg = config.custom.hardware.fingerprint;
|
||||
in {
|
||||
options.custom.hardware.fingerprint = {
|
||||
enable = lib.mkEnableOption "Enables fingerprint sensor support";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
tod = {
|
||||
enable = true;
|
||||
driver = pkgs.libfprint-2-tod1-goodix;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user